Mouse Attached Events

The Mouse type exposes the following members.

  Name Description
Public attached event GotMouseCapture Occurs when an element captures the mouse.
Public attached event LostMouseCapture Occurs when an element loses mouse capture.
Public attached event MouseDown Occurs when any mouse button is depressed.
Public attached event MouseEnter Occurs when the mouse pointer enters the boundaries of an element.
Public attached event MouseLeave Occurs when the mouse pointer leaves the boundaries of an element.
Public attached event MouseMove Occurs when the mouse pointer moves.
Public attached event MouseUp Occurs when any mouse button is released.
Public attached event MouseWheel Occurs when the mouse wheel is rotated.
Public attached event PreviewMouseDown Occurs when any mouse button is depressed.
Public attached event PreviewMouseDownOutsideCapturedElement Occurs when the primary mouse button is pressed outside the element that is capturing mouse events.
Public attached event PreviewMouseMove Occurs when the mouse moves over an element.
Public attached event PreviewMouseUp Occurs when any mouse button is released.
Public attached event PreviewMouseUpOutsideCapturedElement Occurs when the primary mouse button is released outside the element that is capturing mouse events.
Public attached event PreviewMouseWheel Occurs when the mouse wheel rotates.
Public attached event QueryCursor Occurs when an element queries for the current mouse cursor.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft