Skip to main content

LayoutGroup.CreateTabbedGroupForSelectedGroup() Method

Creates a new tabbed group that will display the selected child group within the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual TabbedGroup CreateTabbedGroupForSelectedGroup()


Type Description

A TabbedGroup descendant that specifies the group that has been created.


This method creates a tabbed group with a single tab within the current group and displays the selected child group within this tab. The tabbed group takes the same position and size as the selected child group. In addition the tabbed group is selected.

To select and unselect specific items use the BaseLayoutItem.Selected property. All the selected items that belong to a group can be accessed via the LayoutGroup.SelectedItems collection.

The CreateTabbedGroupForSelectedGroup method is in effect only if a single child group is selected. If more items are selected this method does nothing. Use the LayoutGroup.CanCreateTabbedGroupForSelectedGroup method to check whether the CreateTabbedGroupForSelectedGroup method can create a tabbed group.

See Also