Class MouseEventArgsEx
Mouse event args class.
Inherited Members
Namespace: VisioForge.Core.Types.Events
Assembly: VisioForge.Core.dll
Syntax
public class MouseEventArgsEx : EventArgs
Constructors
MouseEventArgsEx(MouseButton, int, int, bool, bool, bool)
Initializes a new instance of the MouseEventArgsEx class.
Declaration
public MouseEventArgsEx(MouseButton button, int x, int y, bool alt, bool ctrl, bool shift)
Parameters
Type | Name | Description |
---|---|---|
MouseButton | button | Mouse button. |
int | x | X coordinate. |
int | y | Y coordinate. |
bool | alt | Alt state. |
bool | ctrl | Ctrl state. |
bool | shift | Shift state. |
Properties
Alt
Gets a value indicating whether Alt button pressed.
Declaration
public bool Alt { get; }
Property Value
Type | Description |
---|---|
bool |
Button
Gets mouse button.
Declaration
public MouseButton Button { get; }
Property Value
Type | Description |
---|---|
MouseButton |
Ctrl
Gets a value indicating whether Ctrl button pressed.
Declaration
public bool Ctrl { get; }
Property Value
Type | Description |
---|---|
bool |
Shift
Gets a value indicating whether Shift button pressed.
Declaration
public bool Shift { get; }
Property Value
Type | Description |
---|---|
bool |
X
Gets X coordinate.
Declaration
public int X { get; }
Property Value
Type | Description |
---|---|
int |
Y
Gets Y coordinate.
Declaration
public int Y { get; }
Property Value
Type | Description |
---|---|
int |