แก้ไข

แชร์ผ่าน


UIElement.OnTouchLeave(TouchEventArgs) Method

Definition

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

protected:
 virtual void OnTouchLeave(System::Windows::Input::TouchEventArgs ^ e);
protected 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 Overridable Sub OnTouchLeave (e As TouchEventArgs)

Parameters

e
TouchEventArgs

A TouchEventArgs that contains the event data.

Remarks

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