UIElement::ReleaseTouchCapture Method (TouchDevice^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
ArgumentNullException

touchDevice is null.

.NET Framework
Available since 4.0
Return to top
Show: