DiagramKeyPressEventArgs.KeyChar Property

Definition

Gets the character corresponding to the key pressed.

public:
 property char KeyChar { char get(); };
public char KeyChar { get; }
member this.KeyChar : char
Public ReadOnly Property KeyChar As Char

Property Value

The ASCII character that is composed. For example, if the user presses the SHIFT + K, this property returns an uppercase K.

Applies to