Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UIElement::ReleaseTouchCapture Method

.NET Framework 4.6 and 4.5

Attempts to release the specified touch device from this element.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
bool ReleaseTouchCapture(
	TouchDevice^ touchDevice
)

Parameters

touchDevice
Type: System.Windows.Input::TouchDevice

The device to release.

Return Value

Type: System::Boolean
true if the touch device is released; otherwise, false.

ExceptionCondition
ArgumentNullException

touchDevice is nullptr.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft