UIElement.OnLostTouchCapture(TouchEventArgs) UIElement.OnLostTouchCapture(TouchEventArgs) UIElement.OnLostTouchCapture(TouchEventArgs) UIElement.OnLostTouchCapture(TouchEventArgs) Method

定义

为在此元素失去触摸屏输入捕获时发生的 LostTouchCapture 路由事件提供类处理。Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.

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

参数

e
TouchEventArgs TouchEventArgs TouchEventArgs TouchEventArgs

包含事件数据的 TouchEventArgsA TouchEventArgs that contains the event data.

注解

OnLostTouchCapture方法没有默认实现。The OnLostTouchCapture method has no default implementation. OnLostTouchCapture派生类中重写以LostTouchCapture处理事件。Override OnLostTouchCapture in a derived class to handle the LostTouchCapture event. 请确保调用基类的OnLostTouchCapture方法, 以便基类接收事件。Be sure to call the base class' OnLostTouchCapture method so that base classes receive the event.

适用于