## Commands Page

The main objective of this page is to provide a way to manage the Commands of a UI Design, including Command Groups, Command Ids and event binding.

Figure 1 - The "Commands" page

#### Command Page Sections

- Command Lists: This section is composed of two sections: the tree command and the action buttons. The tree shows the commands structure. Also, buttons allow to add new lists, commands, create nameGroups and anonymousGroups, duplicate commands, edit images (for command and namedGroup) and remove components.

- Command List Details: This section allows you to edit the properties of each element selected from the tree. The properties are enabled or disabled depending on the selected component.

- Command IDs: This section allows you to edit some properties of the component Command IDs; the functions of this section are:
  - Renaming the Command ID component
  - Changing the property CommandID (by typing in a new value) or selecting a CommandID from system
  - Adding code for a CommandId event
  - Removing a CommandID

The command properties include:

- Anonymous Group - The AnonymousGroup component is referenced by Commands and Named Groups. Commands and Named Groups that reference the same Anonymous Group will be displayed together. It is allowed to exist as a child of a CommandList component because of its inheritance from CommandListChildBase.
- Command - The Command component is allowed to exist as a child of a CommandList component because of its inheritance from CommandListChildBase. It also inherits functionality from the CommandBase component.
- Command Id- The CommandId component is referenced by Commands from different CommandLists. It exists as a child of the CommandLists component.
- Command List - A set of Commands that can be referenced by a View/Dialog or Layout.
- Named Group - The NamedGroup component is referenced by Commands, AnonymousGroups and other NamedGroups instances. Commands, AnonymousGroups and NamedGroups that reference the same NamedGroup will be displayed as sub-items. It is allowed to exist as a child of a CommandList component because of its inheritance from CommandListChildBase. It also inherits functionality from the CommandBase component.

##### Related references

- Commands Page
- Command Lists
- Command Details
- Command IDs
- UI Configurations