Class MouseEventArgs
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Mouse event data.
public sealed class MouseEventArgs : RoutedEventArgs
- Inheritance
-
MouseEventArgs
- Inherited Members
Properties
Alt
Alt held.
public bool Alt { get; }
Property Value
Button
Button that changed (down/up), or None for moves.
public MouseButton Button { get; }
Property Value
ClickCount
1 for a single click, 2 for a double click.
public int ClickCount { get; }
Property Value
Control
Control held.
public bool Control { get; }
Property Value
IsHorizontalWheel
true for horizontal wheel (tilt) events.
public bool IsHorizontalWheel { get; }
Property Value
Modifiers
Keyboard modifiers held during the event.
public ModifierKeys Modifiers { get; }
Property Value
Position
Position in DIPs (host coordinates, same space as Bounds).
public Point Position { get; }
Property Value
Shift
Shift held.
public bool Shift { get; }
Property Value
WheelDelta
Wheel rotation in notches (positive = away from the user / to the right).
public float WheelDelta { get; }