Class ScrollViewerExtensions
Contains attached behavior for enabling mouse wheel scrolling for ScrollViewer controls.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public static class ScrollViewerExtensions
Fields
AttachedHorizontalScrollBarProperty
DependencyProperty identifying the AttachedHorizontalScrollBar attached property.
Declaration
public static readonly DependencyProperty AttachedHorizontalScrollBarProperty
Field Value
System.Windows.DependencyProperty
|
AttachedVerticalScrollBarProperty
DependencyProperty identifying the AttachedVerticalScrollBar attached property.
Declaration
public static readonly DependencyProperty AttachedVerticalScrollBarProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetAttachedHorizontalScrollBar(DependencyObject)
Sets the attached external Horizontal ScrollBar to a ScrollViewer.
Declaration
public static ScrollBar GetAttachedHorizontalScrollBar(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The ScrollViewer. |
Returns
System.Windows.Controls.Primitives.ScrollBar
The ScrollBar instance. |
GetAttachedVerticalScrollBar(DependencyObject)
Sets the attached external Vertical ScrollBar to a ScrollViewer.
Declaration
public static ScrollBar GetAttachedVerticalScrollBar(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The ScrollViewer. |
Returns
System.Windows.Controls.Primitives.ScrollBar
The ScrollBar instance. |
SetAttachedHorizontalScrollBar(DependencyObject, ScrollBar)
Gets the attached external Horizontal ScrollBar to a ScrollViewer.
Declaration
public static void SetAttachedHorizontalScrollBar(DependencyObject obj, ScrollBar value)
Parameters
System.Windows.DependencyObject
obj
The ScrollViewer. |
System.Windows.Controls.Primitives.ScrollBar
value
The ScrollBar instance. |
SetAttachedVerticalScrollBar(DependencyObject, ScrollBar)
Gets the attached external Vertical ScrollBar to a ScrollViewer.
Declaration
public static void SetAttachedVerticalScrollBar(DependencyObject obj, ScrollBar value)
Parameters
System.Windows.DependencyObject
obj
The ScrollViewer. |
System.Windows.Controls.Primitives.ScrollBar
value
The ScrollBar instance. |