Mouse Properties
.NET Framework 4.5
The Mouse type exposes the following members.
| Name | Description | |
|---|---|---|
|
Captured | Gets the element that has captured the mouse. |
|
DirectlyOver | Gets the element the mouse pointer is directly over. |
|
LeftButton | Gets the state of the left button of the mouse. |
|
MiddleButton | Gets the state of the middle button of the mouse. |
|
OverrideCursor | Gets or sets the cursor for the entire application. |
|
PrimaryDevice | Gets the primary mouse device. |
|
RightButton | Gets the state of the right button. |
|
XButton1 | Gets the state of the first extended button. |
|
XButton2 | Gets the state of the second extended button. |