#652 – Mouse Event Summary

Below are the events defined for ContentElement, UIElement and UIElement3D classes related to mouse input:

  • PreviewMouseMove (tunneling) / MouseMove (bubbling) – Mouse moves while over element
  • GotMouseCapture  (bubbling) – Element has captured the mouse, receiving mouse input   
  • LostMouseCapture (bubbling) – Element no longer is receiving mouse input
  • MouseEnter (direct) – Mouse pointer has entered boundaries of this element
  • MouseLeave (direct) – Mouse pointer has left boundaries of this element
  • PreviewMouseDown (MouseDown  – Mouse button is pressed
  • PreviewMouseLeftButtonDown (direct, appears to tunnel) / MouseLeftButtonDown (direct, appears to bubble) – Left mouse button is pressed
  • PreviewMouseLeftButtonUp (direct, appears to tunnel) / MouseLeftButtonUp (direct, appears to bubble) – Left mouse button is released
  • PreviewMouseRightButtonDown (direct, appears to tunnel) / MouseRightButtonDown (direct, appears to bubble) – Right mouse button is pressed
  • PreviewMouseRightButtonUp (direct, appears to tunnel) / MouseRightButtonUp (direct, appears to bubble) – Right mouse button is released
  • PreviewMouseUp (tunneling) / MouseUp (bubbling) – Mouse button released
  • PreviewMouseWheel (tunneling) / MouseWheel (bubbling) – Mouse wheel position changed
Advertisement

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

2 Responses to #652 – Mouse Event Summary

  1. Pingback: Dew Drop – September 21, 2012 (#1,406) | Alvin Ashcraft's Morning Dew

  2. Pingback: #653 – MouseMove Events « 2,000 Things You Should Know About WPF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: