Mouse Methods

The Mouse type exposes the following members.

  Name Description
Public method Static member AddGotMouseCaptureHandler Adds a handler for the GotMouseCapture attached event.
Public method Static member AddLostMouseCaptureHandler Adds a handler for the LostMouseCapture attached event.
Public method Static member AddMouseDownHandler Adds a handler for the MouseDown attached event.
Public method Static member AddMouseEnterHandler Adds a handler for the MouseEnter attached event.
Public method Static member AddMouseLeaveHandler Adds a handler for the MouseLeave attached event.
Public method Static member AddMouseMoveHandler Adds a handler for the MouseMove attached event.
Public method Static member AddMouseUpHandler Adds a handler for the MouseUp attached event.
Public method Static member AddMouseWheelHandler Adds a handler for the MouseWheel attached event.
Public method Static member AddPreviewMouseDownHandler Adds a handler for the PreviewMouseDown attached event.
Public method Static member AddPreviewMouseDownOutsideCapturedElementHandler Adds a handler for the PreviewMouseDownOutsideCapturedElement attached event.
Public method Static member AddPreviewMouseMoveHandler Adds a handler for the PreviewMouseMove attached event.
Public method Static member AddPreviewMouseUpHandler Adds a handler for the PreviewMouseUp attached event.
Public method Static member AddPreviewMouseUpOutsideCapturedElementHandler Adds a handler for the PreviewMouseUpOutsideCapturedElement attached event.
Public method Static member AddPreviewMouseWheelHandler Adds a handler for the PreviewMouseWheel attached event.
Public method Static member AddQueryCursorHandler Adds a handler for the QueryCursor attached event.
Public method Static member Capture(IInputElement) Captures mouse input to the specified element.
Public method Static member Capture(IInputElement, CaptureMode) Captures mouse input to the specified element using the specified CaptureMode.
Public method Static member GetIntermediatePoints Retrieves up to 64 previous coordinates of the mouse pointer since the last mouse move event.
Public method Static member GetPosition Gets the position of the mouse relative to a specified element.
Public method Static member RemoveGotMouseCaptureHandler Removes a handler for the GotMouseCapture attached event.
Public method Static member RemoveLostMouseCaptureHandler Removes a handler for the LostMouseCapture attached event.
Public method Static member RemoveMouseDownHandler Removes a handler for the MouseDown attached event.
Public method Static member RemoveMouseEnterHandler Removes a handler for the MouseEnter attached event.
Public method Static member RemoveMouseLeaveHandler Removes a handler for the MouseLeave attached event.
Public method Static member RemoveMouseMoveHandler Removes a handler for the MouseMove attached event.
Public method Static member RemoveMouseUpHandler Removes a handler for the MouseUp attached event.
Public method Static member RemoveMouseWheelHandler Removes a handler for the MouseWheel attached event.
Public method Static member RemovePreviewMouseDownHandler Removes a handler for the PreviewMouseDown attached event.
Public method Static member RemovePreviewMouseDownOutsideCapturedElementHandler Removes a handler for the PreviewMouseDownOutsideCapturedElement attached event.
Public method Static member RemovePreviewMouseMoveHandler Removes a handler for the PreviewMouseMove attached event.
Public method Static member RemovePreviewMouseUpHandler Removes a handler for the PreviewMouseUp attached event.
Public method Static member RemovePreviewMouseUpOutsideCapturedElementHandler Removes a handler for the PreviewMouseUpOutsideCapturedElement attached event.
Public method Static member RemovePreviewMouseWheelHandler Removes a handler for the PreviewMouseWheel attached event.
Public method Static member RemoveQueryCursorHandler Removes a handler for the QueryCursor attached event.
Public method Static member SetCursor Sets the mouse pointer to the specified Cursor.
Public method Static member Synchronize Forces the mouse to resynchronize.
Public method Static member UpdateCursor Forces the mouse cursor to be updated.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft