TouchDevice.ReportDown 方法

定義

報告已在項目上按下觸控。Reports that a touch is pressed on an element.

protected:
 bool ReportDown();
protected bool ReportDown ();
member this.ReportDown : unit -> bool
Protected Function ReportDown () As Boolean

傳回

Boolean

如果 TouchDown 事件已處理則為 true,否則為 falsetrue if the TouchDown event was handled; otherwise, false.

備註

繼承自的類別 TouchDevice 應該呼叫這個方法來引發 TouchDown 事件。Classes that inherit from TouchDevice should call this method to raise the TouchDown event. 事件 TouchEnter 會在事件之前引發 TouchDownA TouchEnter event is raised before the TouchDown event.

適用於

另請參閱