Method | Description | |
---|---|---|
FixMouseWheelScroll ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void |
Fixes mouse wheel scrolling in controls that have a ScrollViewer. WPF's ScrollViewer is broken in that it doesn't pass scroll events to the parent control when it can't scroll any more. Add this method as an event handler to a control which has a ScrollViewer in its template to fix this. |
public static FixMouseWheelScroll ( object sender, System.Windows.Input.MouseWheelEventArgs e ) : void | ||
sender | object | The sender. |
e | System.Windows.Input.MouseWheelEventArgs | The event arguments. |
return | void |