UIElement.ReleaseTouchCapture(TouchDevice) 方法

定义

尝试从此元素释放指定触摸设备。

public:
 bool ReleaseTouchCapture(System::Windows::Input::TouchDevice ^ touchDevice);
public bool ReleaseTouchCapture (System.Windows.Input.TouchDevice touchDevice);
member this.ReleaseTouchCapture : System.Windows.Input.TouchDevice -> bool
Public Function ReleaseTouchCapture (touchDevice As TouchDevice) As Boolean

参数

touchDevice
TouchDevice

要释放的设备。

返回

Boolean

如果释放了触摸设备,则为 true;否则为 false

例外

touchDevicenull

适用于