skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDockCommandManager

Manages all the commands registered with a RadDock instance.

Inheritance
System.Object
RadDockObject
RadDockCommandManager
Inherited Members
RadDockObject.Dispose()
RadDockObject.Dispose(Boolean)
RadDockObject.DisposeUnmanagedResources()
RadDockObject.OnPropertyChanging(String)
RadDockObject.OnPropertyChanged(String)
RadDockObject.ShouldSerializeProperty(String)
RadDockObject.Events
RadDockObject.Disposing
RadDockObject.IsDisposed
RadDockObject.Disposed
RadDockObject.PropertyChanging
RadDockObject.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll

Syntax

public class RadDockCommandManager : RadDockObject, IDisposable, INotifyPropertyChanged, INotifyPropertyChangingEx, IMessageListener

Constructors

RadDockCommandManager(RadDock)

Constructs a new instance of the RadDockCommandManager class.

Declaration
public RadDockCommandManager(RadDock dockManager)
Parameters
RadDock dockManager

The RadDock instance this manager is associated with.

Properties

Commands

Gets all the registered commands with this manager.

Declaration
public IEnumerable<RadDockCommand> Commands { get; }
Property Value
System.Collections.Generic.IEnumerable<RadDockCommand>

Enabled

Determines whether the command manager is currently enabled.

Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean

Methods

CanProcessMessage(Message)

Determines whether the manager should process keyboard messages

Declaration
protected virtual bool CanProcessMessage(Message msg)
Parameters
System.Windows.Forms.Message msg

Returns
System.Boolean

DisposeManagedResources()

Unregisters this instance from the global RadMessageFilter instance.

Declaration
protected override void DisposeManagedResources()
Overrides
RadDockObject.DisposeManagedResources()

ExecuteCommand(String)

Attempts to execute the RadDockCommand which matches the specified name.

Declaration
public void ExecuteCommand(string name)
Parameters
System.String name

FindCommandByName(String)

Finds the RadDockCommand instance which name equals the specified one. May be null if no such command is registered.

Declaration
public RadDockCommand FindCommandByName(string name)
Parameters
System.String name

Returns
RadDockCommand

IsModifierKey(Keys)

Determines whether the specified Key is a modifier.

Declaration
protected virtual bool IsModifierKey(Keys currKey)
Parameters
System.Windows.Forms.Keys currKey

Returns
System.Boolean

OnDockManagerLoaded()

The manager gets notified that the associated

Declaration
protected virtual void OnDockManagerLoaded()

OnEnabledChanged()

Notifies for a change in the Enabled state.

Declaration
protected virtual void OnEnabledChanged()

ProcessKeyDown(KeyEventArgs)

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.

Declaration
public virtual bool ProcessKeyDown(KeyEventArgs keys)
Parameters
System.Windows.Forms.KeyEventArgs keys

Returns
System.Boolean

RegisterCommand(RadDockCommand)

Registers the specified command, using the command's Name as a key.

Declaration
public void RegisterCommand(RadDockCommand command)
Parameters
RadDockCommand command

UnregisterCommand(String)

Removes an already registered command with the specified name.

Declaration
public void UnregisterCommand(string name)
Parameters
System.String name

Explicit Interface Implementations

IMessageListener.DesiredHook

Declaration
InstalledHook IMessageListener.DesiredHook { get; }
Returns
InstalledHook

Implements
IMessageListener.DesiredHook

IMessageListener.PreviewMessage(ref Message)

Declaration
MessagePreviewResult IMessageListener.PreviewMessage(ref Message msg)
Parameters
System.Windows.Forms.Message msg

Returns
MessagePreviewResult

Implements
IMessageListener.PreviewMessage(ref Message)

IMessageListener.PreviewSystemMessage(SystemMessage, Message)

Declaration
void IMessageListener.PreviewSystemMessage(SystemMessage message, Message msg)
Parameters
SystemMessage message

System.Windows.Forms.Message msg

Implements
IMessageListener.PreviewSystemMessage(SystemMessage, Message)

IMessageListener.PreviewWndProc(Message)

Declaration
void IMessageListener.PreviewWndProc(Message msg)
Parameters
System.Windows.Forms.Message msg

Implements
IMessageListener.PreviewWndProc(Message)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.