Freigeben über


Panel.KeyPress-Ereignis

Dieses Ereignis unterstützt die .NET Framework-Infrastruktur und ist nicht für die direkte Verwendung in Code bestimmt.

Dieser Member hat für das genannte Steuerelement keine Bedeutung.

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

Syntax

'Declaration
Public Event KeyPress As KeyPressEventHandler
'Usage
Dim instance As Panel
Dim handler As KeyPressEventHandler

AddHandler instance.KeyPress, handler
public event KeyPressEventHandler KeyPress
public:
event KeyPressEventHandler^ KeyPress {
    void add (KeyPressEventHandler^ value);
    void remove (KeyPressEventHandler^ value);
}
/** @event */
public void add_KeyPress (KeyPressEventHandler value)

/** @event */
public void remove_KeyPress (KeyPressEventHandler value)
JScript unterstützt die Verwendung von Ereignissen, aber nicht die Deklaration von neuen Ereignissen.

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

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

Panel-Klasse
Panel-Member
System.Windows.Forms-Namespace