Redigera

Dela via


UIElement.ReleaseTouchCapture(TouchDevice) Method

Definition

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
Public Function ReleaseTouchCapture (touchDevice As TouchDevice) As Boolean

Parameters

touchDevice
TouchDevice

The device to release.

Returns

true if the touch device is released; otherwise, false.

Exceptions

touchDevice is null.

Applies to