QueryContinueDragEventArgs.EscapePressed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.