Class MouseWheelEventArgs
Event arguments for mouse wheel events
public sealed class MouseWheelEventArgs : EventArgs
- Inheritance
-
MouseWheelEventArgs
- Inherited Members
Constructors
MouseWheelEventArgs(Position, int, bool, bool, bool)
Initializes a new instance of MouseWheelEventArgs
public MouseWheelEventArgs(Position position, int delta, bool shift, bool alt, bool ctrl)
Parameters
position
PositionThe position where the wheel event occurred
delta
intThe wheel delta (positive for up, negative for down)
shift
boolWhether Shift was held
alt
boolWhether Alt was held
ctrl
boolWhether Ctrl was held
Properties
Alt
Whether Alt was held during the wheel event
public bool Alt { get; }
Property Value
Ctrl
Whether Ctrl was held during the wheel event
public bool Ctrl { get; }
Property Value
Delta
The wheel delta (positive for up/away from user, negative for down/toward user)
public int Delta { get; }
Property Value
Position
The position where the wheel event occurred
public Position Position { get; }
Property Value
Shift
Whether Shift was held during the wheel event
public bool Shift { get; }