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

Represents a set of attached properties for scroll viewers.
Afficher le fichier Open project: lecode-official/mvvm-framework

Méthodes publiques

Свойство Type Description
IsHorizontalScrollingEnabledProperty DependencyProperty

Méthodes publiques

Méthode 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

Méthode Description
OnScrollViewerPreviewMouseWheel ( object sender, System e ) : void

Is called when the mouse wheel is used.

Method Details

GetIsHorizontalScrollingEnabled() public static méthode

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.
Résultat bool

SetIsHorizontalScrollingEnabled() public static méthode

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.
Résultat void

Property Details

IsHorizontalScrollingEnabledProperty public_oe static_oe property

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