PlatformKeyCode Property

Gets a value representing the platform key associated with the event.

XAML
This property cannot be used in XAML.
Scripting
value = eventargs.PlatformKeyCode

Property Value

Key

The platform key 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.

Remarks

Key codes have possible platform variations. For details see Silverlight Keyboard Support.

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

Applies To

KeyboardEventArgs

See Also

Silverlight Keyboard Support
Silverlight Events