Creating Layout Groups

  • 2 minutes to read

This topic shows how you can create layout groups at design and runtime.

Creating Groups at Design Time

Adjacent layout items can be combined into a group at design time using the Context Menu.

  1. Select the items that you need to group by clicking them while holding the SHIFT key down.

    NOTE

    Clicking a layout item's control selects this control but not the item. In this instance, you can press the ESC key to select the layout item that owns the currently selected control.

  2. Invoke the context menu and select the Group command.

CD_LayoutGroup_ContextMenu_Group

A new group will be created and the selected items will be added to this group.

CD_LayoutGroup_ContextMenu_Group_Result

Click the created group's caption to access and modify the group's settings (name, caption, indents, etc.) in the Properties grid.

Creating Groups at Runtime

Layout groups can be created at runtime using the following methods.

Task-Based Help

See Also