TouchDevice.Deactivate Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Removes the TouchDevice from the input messaging system.

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

protected void Deactivate()

Exception Condition

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