Collapse the table of content
Expand the table of content
Expand Minimize

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

'Declaration
Public Event TouchLeave As EventHandler(Of TouchEventArgs)
<object TouchLeave="EventHandler<TouchEventArgs>" .../>

Identifier field

TouchLeaveEvent

Routing strategy

Direct

Delegate

EventHandler(Of 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft