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

TouchEventArgs,其中包含事件資料。A 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.

適用於