Class MouseClickEventArgs
Event arguments for mouse click events
public sealed class MouseClickEventArgs : EventArgs
- Inheritance
-
MouseClickEventArgs
- Inherited Members
Constructors
MouseClickEventArgs(Position, MouseButtonType, bool, bool, bool)
Initializes a new instance of MouseClickEventArgs
public MouseClickEventArgs(Position position, MouseButtonType button, bool shift, bool alt, bool ctrl)
Parameters
position
PositionThe position where the click occurred
button
MouseButtonTypeThe mouse button that was clicked
shift
boolWhether Shift was held
alt
boolWhether Alt was held
ctrl
boolWhether Ctrl was held
Properties
Alt
Whether Alt was held during the click
public bool Alt { get; }
Property Value
Button
The mouse button that was clicked
public MouseButtonType Button { get; }
Property Value
Ctrl
Whether Ctrl was held during the click
public bool Ctrl { get; }
Property Value
Position
The position where the click occurred
public Position Position { get; }
Property Value
Shift
Whether Shift was held during the click
public bool Shift { get; }