Mouse Members
The following tables list the members exposed by the Mouse type.
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
WindowHandle | Sets or gets the window handle that mouse data will be captured within. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() ![]() |
GetState | Gets the current state of the mouse, including mouse position and buttons pressed. |
![]() |
GetType | (Inherited from Object.) |
![]() |
ReferenceEquals | (Inherited from Object.) |
![]() ![]() |
SetPosition | Sets the position of the mouse cursor relative to the upper-left corner of the window. |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
See Also
Tasks
How to: Get the Current Mouse Position (Windows)