ReleaseTouchCapture Method
TOC
Collapse the table of content
Expand the table of content

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)

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:
© 2016 Microsoft