Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TouchLeave Event
Collapse the table of content
Expand the table of content

UIElement.TouchLeave Event

.NET Framework 4.6 and 4.5

Occurs when a touch moves from inside to outside the bounds of this element.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public event EventHandler<TouchEventArgs> TouchLeave
<object TouchLeave="EventHandler<TouchEventArgs>" .../>

Identifier field

TouchLeaveEvent

Routing strategy

Direct

Delegate

EventHandler<TEventArgs> of type TouchEventArgs.

  • Override OnTouchLeave to implement class handling for this event in derived classes.

This event is always raised, whether or not the touch device is captured to this element.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft