KeyPressEventArgs KeyPressEventArgs Class

Definition

Defines the event arguments for KeyPress events. Instances of this class are cached: KeyPressEventArgs should only be used inside the relevant event, unless manually cloned.

public class KeyPressEventArgs : EventArgs
type KeyPressEventArgs = class
    inherit EventArgs
Inheritance
KeyPressEventArgsKeyPressEventArgs

Constructors

KeyPressEventArgs(Char) KeyPressEventArgs(Char)

Constructs a new instance.

Properties

KeyChar KeyChar

T:System.Char

Applies to