C# Class ModernWPF.MouseEvents

Contains extra mouse events when using the modern Chrome on a Window.
Datei anzeigen Open project: soukoku/ModernWPF

Public Properties

Property Type Description
MouseHWheelEvent System.Windows.RoutedEvent
PreviewMouseHWheelEvent System.Windows.RoutedEvent

Public Methods

Method Description
AddMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void

Adds a handler to the MouseHWheel event.

AddPreviewMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void

Adds a handler to the PreviewMouseHWheel event.

RemoveMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void

Removes a handler to the MouseHWheel event.

RemovePreviewMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void

Removes a handler to the PreviewMouseHWheel event.

Method Details

AddMouseHWheelHandler() public static method

Adds a handler to the MouseHWheel event.
public static AddMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void
element System.Windows.DependencyObject The element.
handler MouseWheelEventHandler The handler.
return void

AddPreviewMouseHWheelHandler() public static method

Adds a handler to the PreviewMouseHWheel event.
public static AddPreviewMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void
element System.Windows.DependencyObject The element.
handler MouseWheelEventHandler The handler.
return void

RemoveMouseHWheelHandler() public static method

Removes a handler to the MouseHWheel event.
public static RemoveMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void
element System.Windows.DependencyObject The element.
handler MouseWheelEventHandler The handler.
return void

RemovePreviewMouseHWheelHandler() public static method

Removes a handler to the PreviewMouseHWheel event.
public static RemovePreviewMouseHWheelHandler ( DependencyObject element, MouseWheelEventHandler handler ) : void
element System.Windows.DependencyObject The element.
handler MouseWheelEventHandler The handler.
return void

Property Details

MouseHWheelEvent public_oe static_oe property

Identifies the MouseHWheel event.
public static RoutedEvent,System.Windows MouseHWheelEvent
return System.Windows.RoutedEvent

PreviewMouseHWheelEvent public_oe static_oe property

Identifies the PreviewMouseHWheel event.
public static RoutedEvent,System.Windows PreviewMouseHWheelEvent
return System.Windows.RoutedEvent