UIElement Events

UIElement Events

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The UIElement type exposes the following members.

  NameDescription
Public event DoubleTap Occurs when a DoubleTap gesture is committed while over this UIElement.
Public event GotFocus Occurs when a UIElement receives focus.
Public event Hold Occurs when a Hold gesture is committed while over this UIElement.
Public event KeyDown Occurs when a keyboard key is pressed while the UIElement has focus.
Public event KeyUp Occurs when a keyboard key is released while the UIElement has focus.
Public event LostFocus Occurs when a UIElement loses focus.
Public event LostMouseCapture Occurs when the UIElement loses touch capture.
Public event ManipulationCompleted Occurs when a manipulation and inertia on the UIElement is complete.
Public event ManipulationDelta Occurs when the input device changes position during a manipulation.
Public event ManipulationStarted Occurs when an input device begins a manipulation on the UIElement.
Public event MouseEnter Occurs when a screen tap occurs within the bounding area of a UIElement.
Public event MouseLeave Occurs when a touch event occurs outside the bounding area of a UIElement.
Public event MouseLeftButtonDown Occurs when a UIElement is tapped.
Public event MouseLeftButtonUp Occurs when the finger is lifted off of a UIElement (or while a UIElement holds touch capture).
Public event MouseMove Occurs when the coordinate position of the finger on the screen while touching a UIElement (or while a UIElement holds touch capture).
Public event MouseWheel Infrastructure. Occurs when the user rotates the mouse wheel while the mouse pointer is over a UIElement, or the UIElement has focus.
Public event Tap Occurs when a Tap gesture is committed while over this UIElement.
Public event TextInput Occurs when a UI element gets text in a device-independent manner.
Public event TextInputStart Occurs when a UI element initially gets text in a device-independent manner.
Public event TextInputUpdate Occurs when text continues to be composed via an input method editor (IME).
Top

Show:
© 2017 Microsoft