UIElement.ReleaseTouchCapture Method (TouchDevice)

.NET Framework (current version)
 

Attempts to release the specified touch device from this element.

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

member ReleaseTouchCapture : 
        touchDevice:TouchDevice -> bool

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: