UIElement.OnGotTouchCapture(TouchEventArgs) 方法

定義

提供 GotTouchCapture 路由事件的類別處理,而這個事件會在擷取到對此項目的觸控時發生。

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

參數

e
TouchEventArgs

TouchEventArgs,其中包含事件資料。

備註

方法 OnGotTouchCapture 沒有預設實作。 在衍生類別中覆寫 OnGotTouchCapture 以處理 GotTouchCapture 事件。 請務必呼叫基類的 OnGotTouchCapture 方法,以便基類接收事件。

適用於