Manages all the commands registered with a RadDock instance.
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public class RadDockCommandManager : RadDockObject, IDisposable, INotifyPropertyChanged, INotifyPropertyChangingEx, IMessageListener
Inheritance: objectRadDockObjectRadDockCommandManager
Implements:
Inherited Members
Constructors
Constructs a new instance of the RadDockCommandManager class.
public RadDockCommandManager(RadDock dockManager)
The RadDock instance this manager is associated with.
Properties
Commands
IEnumerable<RadDockCommand>
Gets all the registered commands with this manager.
public IEnumerable<RadDockCommand> Commands { get; }
Methods
Unregisters this instance from the global RadMessageFilter instance.
protected override void DisposeManagedResources()
Overrides:
Attempts to execute the RadDockCommand which matches the specified name.
Finds the RadDockCommand instance which name equals the specified one. May be null if no such command is registered.
The manager gets notified that the associated
protected virtual void OnDockManagerLoaded()
Notifies for a change in the Enabled state.
protected virtual void OnEnabledChanged()
Processes a WM_KEYDOWN message that comes into the UI thread. Default implementation will attempt to execute a command that matches completely or partially the keys combination.
Registers the specified command, using the command's Name as a key.
Removes an already registered command with the specified name.