Redigera

Dela via


TouchDevice.Deactivate Method

Definition

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