共用方式為


QueryContinueDragEventArgs.EscapePressed 屬性

定義

會有一個布林值,表示是否按下了 ESC 鍵。

public:
 property bool EscapePressed { bool get(); };
public bool EscapePressed { get; }
member this.EscapePressed : bool
Public ReadOnly Property EscapePressed As Boolean

屬性值

一個布林值,表示是否按下了 ESC 鍵。 true若按下ESC;否則,。 false

備註

預設情況下, QueryContinueDrag 事件會將屬性設 Action 為 , Cancel 只要按下 ESC 鍵。

適用於