Skip to main content
A newer version of this page is available. .

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

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