This documentation is archived and is not being maintained.

Label.KeyPress Event

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[Visual Basic]
Public Shadows Event KeyPress As KeyPressEventHandler
public new event KeyPressEventHandler KeyPress;
public: __event KeyPressEventHandler* KeyPress;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

See Also

Label Class | Label Members | System.Windows.Forms Namespace