SDG Toolkit

SdgKeyEventArgs.KeyValue Property

Gets a numeric value representing the acsii character of the key pressed

public int KeyValue {get; set;}

Remarks

This is a quick and easy method of determining the Ascii character that would have been produced if this key was typed in a text box.

Example

C# Eg., if ((int) 'a' == e.KeyValue) {}

See Also

SdgKeyEventArgs Class | Sdgt Namespace