New to Telerik UI for WPFStart a free 30-day trial

Represents attached behavior for the scrolling settings of the ScrollingHelper.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public static class ScrollingSettingsBehavior

Inheritance: objectScrollingSettingsBehavior

Fields

IsEnabledProperty

DependencyProperty

Identifies the IsEnabled attached property.

C#
public static readonly DependencyProperty IsEnabledProperty

ScrollAreaPaddingProperty

DependencyProperty

Identifies the ScrollAreaPadding attached property.

C#
public static readonly DependencyProperty ScrollAreaPaddingProperty

ScrollStepProperty

DependencyProperty

Identifies the ScrollStep attached property.

C#
public static readonly DependencyProperty ScrollStepProperty

ScrollStepTimeProperty

DependencyProperty

Identifies the ScrollStepTime attached property.

C#
public static readonly DependencyProperty ScrollStepTimeProperty

Methods

Gets whether the scrolling behavior is enabled or not.

C#
public static bool GetIsEnabled(DependencyObject obj)
Parameters:objDependencyObjectReturns:

bool

Gets the scroll area padding.

C#
public static Thickness GetScrollAreaPadding(DependencyObject obj)
Parameters:objDependencyObjectReturns:

Thickness

Gets the scroll step.

C#
public static double GetScrollStep(DependencyObject obj)
Parameters:objDependencyObjectReturns:

double

Gets the scroll step time.

C#
public static TimeSpan GetScrollStepTime(DependencyObject obj)
Parameters:objDependencyObjectReturns:

TimeSpan

Sets whether the scrolling behavior is enabled or not.

C#
public static void SetIsEnabled(DependencyObject obj, bool value)
Parameters:objDependencyObjectvaluebool

Sets the scroll area padding.

C#
public static void SetScrollAreaPadding(DependencyObject obj, Thickness value)
Parameters:objDependencyObjectvalueThickness

Sets the scroll step.

C#
public static void SetScrollStep(DependencyObject obj, double value)
Parameters:objDependencyObjectvaluedouble

Sets the scroll step time.

C#
public static void SetScrollStepTime(DependencyObject obj, TimeSpan value)
Parameters:objDependencyObjectvalueTimeSpan