Edytuj

Udostępnij za pośrednictwem


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
KeyPressEventArgs

Constructors

KeyPressEventArgs(Char)

Constructs a new instance.

Properties

KeyChar

Gets a T:System.Char that defines the ASCII character that was typed.

Applies to