Class
ScrollViewerExtensions

Contains attached behavior for enabling mouse wheel scrolling for ScrollViewer controls.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public static class ScrollViewerExtensions

Inheritance: objectScrollViewerExtensions

Fields

AttachedHorizontalScrollBarProperty

DependencyProperty identifying the AttachedHorizontalScrollBar attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty AttachedHorizontalScrollBarProperty

Field Value

DependencyProperty

AttachedVerticalScrollBarProperty

DependencyProperty identifying the AttachedVerticalScrollBar attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty AttachedVerticalScrollBarProperty

Field Value

DependencyProperty

Methods

GetAttachedHorizontalScrollBar(DependencyObject)

Sets the attached external Horizontal ScrollBar to a ScrollViewer.

Declaration

cs-api-definition
public static ScrollBar GetAttachedHorizontalScrollBar(DependencyObject obj)

Parameters

obj

DependencyObject

The ScrollViewer.

Returns

ScrollBar

The ScrollBar instance.

GetAttachedVerticalScrollBar(DependencyObject)

Sets the attached external Vertical ScrollBar to a ScrollViewer.

Declaration

cs-api-definition
public static ScrollBar GetAttachedVerticalScrollBar(DependencyObject obj)

Parameters

obj

DependencyObject

The ScrollViewer.

Returns

ScrollBar

The ScrollBar instance.

SetAttachedHorizontalScrollBar(DependencyObject, ScrollBar)

Gets the attached external Horizontal ScrollBar to a ScrollViewer.

Declaration

cs-api-definition
public static void SetAttachedHorizontalScrollBar(DependencyObject obj, ScrollBar value)

Parameters

obj

DependencyObject

The ScrollViewer.

value

ScrollBar

The ScrollBar instance.

SetAttachedVerticalScrollBar(DependencyObject, ScrollBar)

Gets the attached external Vertical ScrollBar to a ScrollViewer.

Declaration

cs-api-definition
public static void SetAttachedVerticalScrollBar(DependencyObject obj, ScrollBar value)

Parameters

obj

DependencyObject

The ScrollViewer.

value

ScrollBar

The ScrollBar instance.