Edit

Share via


QueryContinueDragEventArgs.EscapePressed Property

Definition

Gets a Boolean value indicating whether the ESC key has been pressed.

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

Property Value

A Boolean value indicating whether the ESC key has been pressed. true if the ESC was pressed; otherwise, false.

Remarks

By default, the QueryContinueDrag event sets the Action property to Cancel if the ESC key is pressed.

Applies to