Class AppRegistry
- Namespace
- Tripous
- Assembly
- Tripous.dll
Provides global access to application commands.
public static class AppRegistry
- Inheritance
-
AppRegistry
- Inherited Members
Properties
MenuCommands
Gets the registered menu commands.
public static DefList<Command> MenuCommands { get; }
Property Value
ToolBarCommands
Gets the registered toolbar commands.
public static DefList<Command> ToolBarCommands { get; }
Property Value
Methods
CommandExists(string)
Returns true when a command with the specified name exists.
public static bool CommandExists(string CommandName)
Parameters
CommandNamestring
Returns
FindCommand(string)
Finds and returns a command by name, if any; otherwise returns null.
public static Command FindCommand(string CommandName)
Parameters
CommandNamestring
Returns
GetCommand(string)
Returns a command by name. Throws an exception when the command is not found.
public static Command GetCommand(string CommandName)
Parameters
CommandNamestring
Returns
GetCommandsAll()
Returns all registered commands, including child commands.
public static List<Command> GetCommandsAll()