Skip to main content
Version: 3.5

KeyPressEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for the KeyPress event.

public class KeyPressEventArgs : EventArgs

Constructors

Instance memberKeyPressEventArgs(keyChar)

Initializes a new instance of the KeyPressEventArgs class.

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

Properties

Instance memberHandled

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

Instance memberKeyChar

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.