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

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.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual TabbedGroup CreateTabbedGroupForSelectedGroup()

#Returns

Type Description
TabbedGroup

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

#Remarks

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