UIElement.OnGotTouchCapture(TouchEventArgs) 方法

定义

为在此元素上捕获触摸屏输入时发生的 GotTouchCapture 路由事件提供类处理。

C#
protected virtual void OnGotTouchCapture(System.Windows.Input.TouchEventArgs e);

参数

e
TouchEventArgs

包含事件数据的 TouchEventArgs

注解

方法 OnGotTouchCapture 没有默认实现。 在派生类中重写 OnGotTouchCapture 以处理 GotTouchCapture 事件。 请务必调用基类的 OnGotTouchCapture 方法,以便基类接收 事件。

适用于

产品 版本
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10