UIElement.OnPreviewTouchUp(TouchEventArgs) Method

Definition

Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

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

Parameters

e
TouchEventArgs

A TouchEventArgs that contains the event data.

Remarks

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

Applies to