TouchDevice.Deactivate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the TouchDevice from the input messaging system.
protected:
void Deactivate();
protected void Deactivate ();
member this.Deactivate : unit -> unit
Protected Sub Deactivate ()
Exceptions
The device is not activated.
Remarks
Classes that inherit from TouchDevice should call this method to deactivate the current device.
A TouchLeave event is raised without the corresponding TouchUp event.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.