QueryContinueDragEventArgs.EscapePressed Property

 

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

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

member EscapePressed : bool with get

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 3.0
Return to top
Show: