ClassRadShortcut
Describes a combination of keys that may be used as a shortcut to RadItem.PerformClick method or any other arbitrary command.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadShortcut
Inheritance: objectRadShortcut
Constructors
RadShortcut()
Default constructor. Initializes an empty RadShortcut instance.
Declaration
public RadShortcut()
RadShortcut(Keys, params Keys[])
Initializes a new RadShortcut instance, using the specified modifiers and key mappings.
Fields
Properties
Alt
Determines whether the Alt modifier key is applied.
Ctrl
Determines whether the Control modifier key is applied.
KeyMappings
Gets a list with all the Keys that form the shortcut combination. E.g. we may have M+O and a Modifier CTRL, then the valid shortcut will be CTRL+M+O
Modifiers
Gets or sets the Keys value that describes the modifiers for the shortcut.
Methods
GetDisplayText()
Gets the human-readable represention of the current key settings.
IsMappingKey(Keys)
Determines whether the specified key is present in the RadDockShortcut KeyMappings list.
IsPartialShortcutCombination(Keys, params Keys[])
Determines whether the specified Keys are part of a shortcut combination. E.g. if we have a key mapping CTRL+M+O and the provided keys are CTRL+M, the method will return true.
IsShortcutCombination(Keys, params Keys[])
Determines whether the specified Keys are part