This documentation is archived and is not being maintained.

KeyPressEventArgs Properties

The properties of the KeyPressEventArgs class are listed here. For a complete list of KeyPressEventArgs class members, see the KeyPressEventArgs Members topic.

Public Properties

public propertyHandled

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether the KeyPress event was handled.
public propertyKeyChar

Supported by the .NET Compact Framework.

Gets the character corresponding to the key pressed.

See Also

KeyPressEventArgs Class | System.Windows.Forms Namespace