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
positionPositionThe position where the click occurred
buttonMouseButtonTypeThe mouse button that was clicked
shiftboolWhether Shift was held
altboolWhether Alt was held
ctrlboolWhether 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; }