Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following tables list the members exposed by the Mouse type.
Public Properties
Name | Description | |
---|---|---|
![]() ![]() |
WindowHandle | Gets or sets the window used for mouse processing. Mouse coordinates returned by GetState are relative to the upper-left corner of this window. |
Public Methods
Name | Description | |
---|---|---|
![]() ![]() |
GetState | Gets the current state of the mouse, including mouse position and buttons pressed. |
![]() ![]() |
SetPosition | Sets the position of the mouse cursor relative to the upper-left corner of the window. |
See Also
Tasks
Getting the Mouse Position (Windows, Windows Phone)
Concepts
Overview of User Input and Input Devices