Skip to main content
UIElementTouchLeave Event
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public event EventHandler<TouchEventArgs> TouchLeave
public:
event EventHandler<TouchEventArgs^>^ TouchLeave {
	void add(EventHandler<TouchEventArgs^>^ value);
	void remove(EventHandler<TouchEventArgs^>^ value);
}
member TouchLeave : IEvent<EventHandler<TouchEventArgs>,
    TouchEventArgs>
Public Event TouchLeave As EventHandler(Of TouchEventArgs)

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

Identifier field

TouchLeaveEvent

Routing strategy

Direct

Delegate

EventHandler of type TouchEventArgs.

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

.NET Framework
Available since 4.0
Return to top