Class RadDockCommand
Represents base command that is associated with a RadDock instance.
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll
Syntax
public abstract class RadDockCommand : CommandBase, ICommand, ICommandPresentation, IImageListProvider
  Constructors
RadDockCommand()
Default constructor.
Declaration
public RadDockCommand()
  Properties
Shortcuts
Gets a list with all the RadShortcut registered for this command.
Declaration
public List<RadShortcut> Shortcuts { get; }
  Property Value
| 
        System.Collections.Generic.List<RadShortcut>
         
  | 
    
Methods
CanExecute(Object)
Determines whether the command may execute. The command may be executed in the following cases:
- The currently active form is the one where the associated RadDock resides.
 - The currently active form is a FloatingWindow instance, owned by the associated RadDock.
 - The currently active form is an AutoHidePopup instance, owned by the associated RadDock.
 
Declaration
public override bool CanExecute(object parameter)
  Parameters
| 
        System.Object
        parameter
         The additional parameter provided. Should be a RadDock instance.  | 
    
Returns
| 
        System.Boolean
         
  | 
    
Overrides
IsMappingKey(Keys)
Determines whether the specified key is a mapping for any of the associated shortcuts.
Declaration
public bool IsMappingKey(Keys key)
  Parameters
| 
        System.Windows.Forms.Keys
        key
         
  | 
    
Returns
| 
        System.Boolean
         
  | 
    
IsPartialShortcut(Keys, Keys[])
Determines whether the keyboard combination is partial for any of the registered RadShortcut instance.
Declaration
public bool IsPartialShortcut(Keys modifiers, params Keys[] mappings)
  Parameters
| 
        System.Windows.Forms.Keys
        modifiers
         
  | 
    
| 
        System.Windows.Forms.Keys[]
        mappings
         
  | 
    
Returns
| 
        System.Boolean
         
  | 
    
IsShortcut(Keys, Keys[])
Determines whether the keyboard combination is valid for any of the registered RadShortcut instance.
Declaration
public bool IsShortcut(Keys modifiers, params Keys[] mappings)
  Parameters
| 
        System.Windows.Forms.Keys
        modifiers
         
  | 
    
| 
        System.Windows.Forms.Keys[]
        mappings
         
  | 
    
Returns
| 
        System.Boolean
         
  |