ContentElement.OnTouchLeave(TouchEventArgs) Method


Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this element.

protected public:
 virtual void OnTouchLeave(System::Windows::Input::TouchEventArgs ^ e);
protected internal virtual void OnTouchLeave (System.Windows.Input.TouchEventArgs e);
abstract member OnTouchLeave : System.Windows.Input.TouchEventArgs -> unit
override this.OnTouchLeave : System.Windows.Input.TouchEventArgs -> unit
Protected Friend Overridable Sub OnTouchLeave (e As TouchEventArgs)



A TouchEventArgs that contains the event data.


The OnTouchLeave method has no default implementation. Override OnTouchLeave in a derived class to handle the TouchLeave event. Be sure to call the base class' OnTouchLeave method so that base classes receive the event.

Applies to