TouchDevice.Deactivate Method ()

.NET Framework (current version)
 

Removes the TouchDevice from the input messaging system.

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

protected void Deactivate()

Exception Condition
InvalidOperationException

The device is not activated.

Classes that inherit from TouchDevice should call this method to deactivate the current device.

A TouchLeave event is raised without the corresponding TouchUp event.

.NET Framework
Available since 4.0
Return to top
Show: