Home Cooker Classes Others Rice CookerGX
Classes  >  elementeventargs  >  KeyPressedCode
elementeventargs class : KeyPressedCode getter

Description

Gets the ASCII value of the keyboard characters that typed.

Syntax

elementeventargsInstance.KeyPressedCode

Arguments

None

Return value

ClassDescription
intThe ASCII value of the keyboard characters that typed.

Sample code

//anyElementeventargs is an any instance of elementeventargs type.

int ascii = anyElementeventargs.KeyPressedCode;

Notes

It's a wrapper of the System.Windows.Forms.HtmlElementEventArgs.KeyPressedCode.

Links for reference

Copyright © Rice All rights reserved.