Skip to content
SiteEmail

cohtml.Net.MouseEventData

Inherits from SystemIDisposable

Name
enum classEventType { MouseMove, MouseDown, MouseUp, MouseWheel, MouseLeave}
enum classMouseButton { ButtonNone = 0, ButtonLeft = 0, ButtonMiddle, ButtonRight, ButtonBack, ButtonForward}
Name
virtual voidDispose()
MouseEventData()
Name
MouseEventData.EventTypeType
The type of the event.
MouseEventData.MouseButtonButton
The mouse button that triggered the event.
intX
The X position of the mouse in pixels in the space of the view.
intY
The Y position of the mouse in pixels in the space of the view.
floatWheelX
Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.
floatWheelY
Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.
intDeltaX
intDeltaY
EventModifiersStateModifiers
Key modifiers.
EventMouseModifiersStateMouseModifiers
Mouse modifiers.
Name
boolswigCMemOwn
EnumeratorValueDescription
MouseMove
MouseDown
MouseUp
MouseWheel
MouseLeave
EnumeratorValueDescription
ButtonNone0
ButtonLeft0
ButtonMiddle
ButtonRight
ButtonBack
ButtonForward
virtual void Dispose()
MouseEventData()
MouseEventData.EventType Type;

The type of the event.

MouseEventData.MouseButton Button;

The mouse button that triggered the event.

int X;

The X position of the mouse in pixels in the space of the view.

int Y;

The Y position of the mouse in pixels in the space of the view.

float WheelX;

Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.

float WheelY;

Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.

int DeltaX;
int DeltaY;
EventModifiersState Modifiers;

Key modifiers.

EventMouseModifiersState MouseModifiers;

Mouse modifiers.

bool swigCMemOwn;