Represents the mouse device to a specific thread.
public static class Mouse
The Mouse class provides mouse related events, methods and, properties which provide information regarding the state of the mouse.
Each event that Mouse defines as an attached event is also re-exposed by the base element classes UIElement and ContentElement as a new routed event. Generally, it is more convenient to handle mouse events for an application on UIElement and ContentElement, rather than using the Mouse events. For details, see Input Overview.
Identifies the GotMouseCapture attached event.
Identifies the LostMouseCapture attached event.
Identifies the MouseDown attached event.
Identifies the MouseEnter attached event.
Identifies the MouseLeave attached event.
Identifies the MouseMove attached event.
Identifies the MouseUp attached event.
Represents the number of units the mouse wheel is rotated to scroll one line.
Identifies the MouseWheel attached event.
Identifies the PreviewMouseDown attached event.
Identifies the PreviewMouseDownOutsideCapturedElement attached event.
Identifies the PreviewMouseMove attached event.
Identifies the PreviewMouseUp attached event.
Identifies the PreviewMouseUpOutsideCapturedElement attached event.
Identifies the PreviewMouseWheel attached event.
Identifies the QueryCursor attached event.
Gets the element that has captured the mouse.
Gets the element the mouse pointer is directly over.
Gets the state of the left button of the mouse.
Gets the state of the middle button of the mouse.
Gets or sets the cursor for the entire application.
Gets the primary mouse device.
Gets the state of the right button.
Gets the state of the first extended button.
Gets the state of the second extended button.