C# Class LogViewer.Controls.PassthroughMouseWheelBehavior

Captures and eats MouseWheel events so that a nested ListBox does not prevent an outer scrollable control from scrolling.
Afficher le fichier Open project: Dronacharya-Org/Dronacharya

Méthodes publiques

Свойство Type Description
PassthroughMouseWheelProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GetPassthroughMouseWheel ( UIElement e ) : bool
SetPassthroughMouseWheel ( UIElement e, bool value ) : void

Private Methods

Méthode Description
OnPassthroughMouseWheelChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPreviewMouseWheel ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void

Method Details

GetPassthroughMouseWheel() public static méthode

public static GetPassthroughMouseWheel ( UIElement e ) : bool
e System.Windows.UIElement
Résultat bool

SetPassthroughMouseWheel() public static méthode

public static SetPassthroughMouseWheel ( UIElement e, bool value ) : void
e System.Windows.UIElement
value bool
Résultat void

Property Details

PassthroughMouseWheelProperty public_oe static_oe property

public static DependencyProperty,System.Windows PassthroughMouseWheelProperty
Résultat System.Windows.DependencyProperty