Skip to main content
Version: 4.1

KeyPressEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides data for the KeyPress event.

public class KeyPressEventArgs : EventArgs

Constructors

Instance member KeyPressEventArgs(keyChar)

Initializes a new instance of the KeyPressEventArgs class.

NameTypeDescription
keyCharCharThe ASCII character corresponding to the key the user pressed.

Properties

Instance member Handled

Boolean: Returns or sets whether the KeyPress event was handled.

Instance member KeyChar

Char: Returns or sets the character corresponding to the key pressed.

Used By

NameDescription
KeyPressEventHandlerRepresents the method that will handle the KeyPress event of a Control.