Table of Contents

Class KeyPressEventArgs

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

This class is used in the KeyPress event as event arguments.

public class KeyPressEventArgs : KeyboardEventArgs
Inheritance
KeyPressEventArgs

Constructors

KeyPressEventArgs(char)

Initializes a new instance of the KeyPressEventArgs class with the specified key character.

KeyPressEventArgs(object, char)

Initializes a new instance of the KeyPressEventArgs class with the specified key character and original target.

Properties

KeyChar

Gets or sets the character referenced by the event.