PlatformKeyCode

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that represents the platform key associated with an event.

value = eventargs.PlatformKeyCode

Property Value

Type: Key Enumeration

The platform key that is referenced by the event.

This property is read/write but should be considered read-only because there is no reason to change the reported information. There is no default.

Managed Equivalent

PlatformKeyCode

Remarks

Check the Ctrl and Shift properties to determine whether the key event is a key combination.

For more information on basic concepts, see Events Overview for Silverlight or Keyboard Support. Note that these topics are written primarily for users of the managed API, and may not have code examples or specific information that address the JavaScript API scenarios.

Applies To

KeyboardEventArgs