UIElement.ReleaseTouchCapture(TouchDevice) UIElement.ReleaseTouchCapture(TouchDevice) UIElement.ReleaseTouchCapture(TouchDevice) Method

定义

尝试从此元素释放指定触摸设备。Attempts to release the specified touch device from this element.

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

参数

touchDevice
TouchDevice TouchDevice TouchDevice

要释放的设备。The device to release.

返回

如果释放了触摸设备,则为 true;否则为 falsetrue if the touch device is released; otherwise, false.

异常

touchDevicenulltouchDevice is null.

适用于