Intersoft ClientUI Documentation
CommandManager Class
Members  See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace : CommandManager Class






Provides command related utility methods that register CommandBinding and InputBinding objects for class owners and commands, add and remove command event handlers, and provides services for querying the status of a command.

Object Model

CommandManager Class

Syntax

Visual Basic (Declaration) 
Public NotInheritable Class CommandManager 
   Inherits System.Windows.DependencyObject
Visual Basic (Usage)Copy Code
Dim instance As CommandManager
C# 
public sealed class CommandManager : System.Windows.DependencyObject 
Delphi 
public class CommandManager = class(System.Windows.DependencyObject)sealed; 
JScript 
public sealed class CommandManager extends System.Windows.DependencyObject
Managed Extensions for C++ 
public __gc __sealed class CommandManager : public System.Windows.DependencyObject 
C++/CLI 
public ref class CommandManager sealed : public System.Windows.DependencyObject 

Remarks

The CommandManager is responsible for managing routed commands. For more information about commanding, see Commanding Overview.

Use RegisterClassCommandBinding to register a CommandBinding to a class as opposed to an instance.

Use RegisterClassInputBinding to register an InputBinding to a class as opposed to an instance.

CommandManager forces the CommandManager to raise the RequerySuggested event. The RequerySuggested event informs a command source to query the command it is associated with to determine whether or not the command can execute.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Framework.Input.CommandManager

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.