Table of Contents

Class MouseWheelEventArgs

Namespace
Gloam.Core.Ui.EventArgs
Assembly
Gloam.Core.Ui.dll

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 Position

The position where the wheel event occurred

delta int

The wheel delta (positive for up, negative for down)

shift bool

Whether Shift was held

alt bool

Whether Alt was held

ctrl bool

Whether Ctrl was held

Properties

Alt

Whether Alt was held during the wheel event

public bool Alt { get; }

Property Value

bool

Ctrl

Whether Ctrl was held during the wheel event

public bool Ctrl { get; }

Property Value

bool

Delta

The wheel delta (positive for up/away from user, negative for down/toward user)

public int Delta { get; }

Property Value

int

Position

The position where the wheel event occurred

public Position Position { get; }

Property Value

Position

Shift

Whether Shift was held during the wheel event

public bool Shift { get; }

Property Value

bool