TouchDevice.Deactivate 方法

定義

從輸入訊息系統中移除 TouchDevice

protected:
 void Deactivate();
protected void Deactivate ();
member this.Deactivate : unit -> unit
Protected Sub Deactivate ()

例外狀況

裝置尚未啟動。

備註

繼承自 TouchDevice 的類別應該呼叫此方法來停用目前的裝置。

TouchLeave事件會在沒有對應的TouchUp事件的情況下引發。

適用於

另請參閱