Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Creating Tabbed Groups

  • 2 minutes to read

This document shows how you can create tabbed groups at design and runtime.

#Creating Tabbed Groups at Design Time

To create a new tabbed group do the following.

  1. Select a layout item by clicking it with the mouse (or select multiple adjacent layout items by clicking them while holding the SHIFT key down).

    CD_CreateTabbedGroup_10_SelectItems

  2. Right-click the selection to open the Context Menu and then choose the Create Tabbed Group command.

    CD_CreateTabbedGroup_15_GroupMenu

    A new tabbed group will be created. The selected items will be placed into a new regular layout group, and then this group will be added as a tab to the created tabbed group.

    CD_CreateTabbedGroup_20_NewGroup

  3. Right-click the tab and select Rename in the context menu to give a meaningful caption to the tab.

    CD_CreateTabbedGroup_25_ChangeGroupName

    Tip

    Alternatively, you can rename the tab by setting the Text property in the Properties grid (click the tab to list its settings in the Properties grid).

  4. To add a new tab, right-click the tab group’s header region and select the Add Tab command. You can then add existing items to this tab using drag-and-drop.

  5. Another way to add a tab is by dragging an existing group to the tab header region.

#Creating Tabbed Groups at Runtime

Tabbed groups can be created in code using the following methods.

A newly created tabbed group is always empty. To add tab pages to this group, use the TabbedControlGroup.AddTabPage method.

#Task-Based Help

See Also