Visual Basic
C#
Managed Extensions for C++
C++/CLI
The event handler receives an argument of type MouseDownEventArgs containing data related to this event. The following MouseDownEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Element | Gets the element that was selected at the time of the mouse down event. |
Layer | Gets the layer that was selected at the time of the mouse down event. |
MouseButtons | Gets the mouse button that was selected at the time of the mouse down event. |
Shift | Gets the shift key state that was selected at the time of the mouse down event. |
X | Gets the x coordinate of the cursor at the time of the mouse down event. |
Y | Gets the y coordinate of the cursor at the time of the mouse down event. |