ContentElement.OnPreviewTouchUp(TouchEventArgs) 方法
定义
为在此元素内部释放触摸屏输入时发生的 PreviewTouchUp 路由事件提供类处理。Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.
protected public:
virtual void OnPreviewTouchUp(System::Windows::Input::TouchEventArgs ^ e);
protected internal 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 Friend Overridable Sub OnPreviewTouchUp (e As TouchEventArgs)
参数
包含事件数据的 TouchEventArgs。A TouchEventArgs that contains the event data.
注解
此 OnPreviewTouchUp 方法没有默认实现。The OnPreviewTouchUp method has no default implementation. OnPreviewTouchUp在派生类中重写以处理 PreviewTouchUp 事件。Override OnPreviewTouchUp in a derived class to handle the PreviewTouchUp event. 请确保调用基类的 OnPreviewTouchUp 方法,以便基类接收事件。Be sure to call the base class' OnPreviewTouchUp method so that base classes receive the event.