Table of Contents

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

DefList<Command>

ToolBarCommands

Gets the registered toolbar commands.

public static DefList<Command> ToolBarCommands { get; }

Property Value

DefList<Command>

Methods

CommandExists(string)

Returns true when a command with the specified name exists.

public static bool CommandExists(string CommandName)

Parameters

CommandName string

Returns

bool

FindCommand(string)

Finds and returns a command by name, if any; otherwise returns null.

public static Command FindCommand(string CommandName)

Parameters

CommandName string

Returns

Command

GetCommand(string)

Returns a command by name. Throws an exception when the command is not found.

public static Command GetCommand(string CommandName)

Parameters

CommandName string

Returns

Command

GetCommandsAll()

Returns all registered commands, including child commands.

public static List<Command> GetCommandsAll()

Returns

List<Command>