Freigeben über


QueryContinueDragEventArgs.EscapePressed-Eigenschaft

Ruft ab, ob der Benutzer ESC gedrückt hat.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public ReadOnly Property EscapePressed As Boolean
'Usage
Dim instance As QueryContinueDragEventArgs
Dim value As Boolean

value = instance.EscapePressed
public bool EscapePressed { get; }
public:
property bool EscapePressed {
    bool get ();
}
/** @property */
public boolean get_EscapePressed ()
public function get EscapePressed () : boolean

Eigenschaftenwert

true, wenn ESC gedrückt wurde, andernfalls false.

Hinweise

Das QueryContinueDrag-Ereignis legt Action standardmäßig auf DragAction.Cancel fest, wenn EscapePressed True ist.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

QueryContinueDragEventArgs-Klasse
QueryContinueDragEventArgs-Member
System.Windows.Forms-Namespace
DoDragDrop