RadControls for Silverlight

This class presents a way to query the state of the various keyboard modifier keys. It also allows you to check the state of the shortcut key for the current platform.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2013.1.403.1050

Syntax

C#
public static class KeyboardModifiers
Visual Basic
<ExtensionAttribute> _
Public NotInheritable Class KeyboardModifiers

Remarks

The different platforms Silverlight runs on employ differing input conventions. Thus shortcuts for common actions such as Copy, Paste and Select All are activated using one key on Windows (Control), but using another on Mac OS X (Apple). Using this class should save you tedious platform checks. It is inadvisable, however, to use the IsShortcutKeyDown property before you've researched what the accepted shortcut for the relevant platform is. Even though this class addresses a Silverlight scenario, it will also work on WPF.

Inheritance Hierarchy

System..::..Object
  Telerik.Windows.Controls..::..KeyboardModifiers

See Also