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
positionPositionThe position where the wheel event occurred
deltaintThe wheel delta (positive for up, negative for down)
shiftboolWhether Shift was held
altboolWhether Alt was held
ctrlboolWhether 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; }