Command Groups

CommandGroups allow you to create buttons and menu items that contain other commands or groups. When selected the buttons and menu items will display a popup menu containing the group members.

Groups can also be added as in inline members. In this case, the group members are inserted directly into the parent instead of being added as a sub menu.

Containers and Binding

The examples in this section will often make use of the bind method of groups. This is because groups need to be bound to a CommandContainer in order to automatically discover their members. Please refer to the Command Container section for detailed information.