C# Class LogViewer.Controls.PassthroughMouseWheelBehavior

Captures and eats MouseWheel events so that a nested ListBox does not prevent an outer scrollable control from scrolling.
显示文件 Open project: Dronacharya-Org/Dronacharya

Public Properties

Property Type Description
PassthroughMouseWheelProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetPassthroughMouseWheel ( UIElement e ) : bool
SetPassthroughMouseWheel ( UIElement e, bool value ) : void

Private Methods

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

Method Details

GetPassthroughMouseWheel() public static method

public static GetPassthroughMouseWheel ( UIElement e ) : bool
e System.Windows.UIElement
return bool

SetPassthroughMouseWheel() public static method

public static SetPassthroughMouseWheel ( UIElement e, bool value ) : void
e System.Windows.UIElement
value bool
return void

Property Details

PassthroughMouseWheelProperty public_oe static_oe property

public static DependencyProperty,System.Windows PassthroughMouseWheelProperty
return System.Windows.DependencyProperty