Skip to main content
UIElementReleaseTouchCapture Method
 
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
)
public:
bool ReleaseTouchCapture(
	TouchDevice^ touchDevice
)
member ReleaseTouchCapture : 
        touchDevice:TouchDevice -> bool
Public Function ReleaseTouchCapture (
	touchDevice As TouchDevice
) As Boolean

Parameters

touchDevice
Type:

The device to release.

Return Value

Type:

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

Exception Condition
ArgumentNullException

touchDevice is null.

.NET Framework
Available since 4.0
Return to top