Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HtmlEventArgs.CharacterCode Property


Gets the integer Unicode value of a key that was pressed.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)
public int CharacterCode { get; }

Property Value

Type: System.Int32
An integer Unicode value of the key that was pressed if the EventType property value is "keypress"; otherwise, 0 (zero).


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.