C# Class System.Windows.Controls.Extensions.ScrollViewer

Represents a set of attached properties for scroll viewers.
Show file Open project: lecode-official/mvvm-framework

Public Properties

Property Type Description
IsHorizontalScrollingEnabledProperty DependencyProperty

Public Methods

Method Description
GetIsHorizontalScrollingEnabled ( DependencyObject scrollViewer ) : bool

Gets the value of the IsHorizontalScrollingEnabledProperty attached property.

SetIsHorizontalScrollingEnabled ( DependencyObject scrollViewer, bool value ) : void

Sets the value of the IsHorizontalScrollingEnabledProperty attached property.

Private Methods

Method Description
OnScrollViewerPreviewMouseWheel ( object sender, System e ) : void

Is called when the mouse wheel is used.

Method Details

GetIsHorizontalScrollingEnabled() public static method

Gets the value of the IsHorizontalScrollingEnabledProperty attached property.
public static GetIsHorizontalScrollingEnabled ( DependencyObject scrollViewer ) : bool
scrollViewer DependencyObject The scroll viewer which is used to get the value.
return bool

SetIsHorizontalScrollingEnabled() public static method

Sets the value of the IsHorizontalScrollingEnabledProperty attached property.
public static SetIsHorizontalScrollingEnabled ( DependencyObject scrollViewer, bool value ) : void
scrollViewer DependencyObject The scroll viewer which is used to set the value.
value bool The value that is to be set.
return void

Property Details

IsHorizontalScrollingEnabledProperty public static property

Contains the dependency property that is an indicator for horizontal mouse wheel scrolling.
public static DependencyProperty IsHorizontalScrollingEnabledProperty
return DependencyProperty