Represents the keyboard device.
Assembly: System.Windows (in System.Windows.dll)
Thetype exposes the following members.
Most scenarios involving the keyboard are addressed by writing handlers for the key events KeyUp and KeyDown. The class is a utility class with only one property, Modifiers. The event data class for KeyUp and KeyDown events reports the primary pressed key corresponding to each raising of a key event. If you want to check whether any modifier keys are also in a pressed state, you can check the Keyboard.Modifiers value from within a mouse event handler.
You might also want to check the Keyboard.Modifiers value when handling mouse events, depending on your application's input design.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.