cohtml.Net.MouseEventData
Inherits from SystemIDisposable
Public Types
Name | |
---|---|
enum class | EventType { MouseMove, MouseDown, MouseUp, MouseWheel, MouseLeave} |
enum class | MouseButton { ButtonNone = 0, ButtonLeft = 0, ButtonMiddle, ButtonRight, ButtonBack, ButtonForward} |
Public Functions
Name | |
---|---|
virtual void | Dispose() |
MouseEventData() |
Public Properties
Name | |
---|---|
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. |
Protected Attributes
Name | |
---|---|
bool | swigCMemOwn |
Public Types Documentation
enum EventType
Enumerator | Value | Description |
---|---|---|
MouseMove | ||
MouseDown | ||
MouseUp | ||
MouseWheel | ||
MouseLeave |
enum MouseButton
Enumerator | Value | Description |
---|---|---|
ButtonNone | 0 | |
ButtonLeft | 0 | |
ButtonMiddle | ||
ButtonRight | ||
ButtonBack | ||
ButtonForward |
Public Functions Documentation
function Dispose
virtual void Dispose()
function MouseEventData
MouseEventData()
Public Property Documentation
property Type
MouseEventData.EventType Type;
The type of the event.
property Button
MouseEventData.MouseButton Button;
The mouse button that triggered the event.
property X
int X;
The X position of the mouse in pixels in the space of the view.
property Y
int Y;
The Y position of the mouse in pixels in the space of the view.
property WheelX
float WheelX;
Scroll Delta X in wheel ticks. Positive numbers mean scrolling left.
property WheelY
float WheelY;
Scroll Delta Y in wheel ticks. Positive numbers mean scrolling up.
property DeltaX
int DeltaX;
property DeltaY
int DeltaY;
property Modifiers
EventModifiersState Modifiers;
Key modifiers.
property MouseModifiers
EventMouseModifiersState MouseModifiers;
Mouse modifiers.
Protected Attributes Documentation
variable swigCMemOwn
bool swigCMemOwn;