Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ContentElement.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 null.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft