Skip to main content

LayoutControlGroup.AddGroup(String) Method

Creates a new group with a specified caption and adds it to the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public LayoutControlGroup AddGroup(
    string text
)

Parameters

Name Type Description
text String

The group’s caption. This value is used to initialize the BaseLayoutItem.Text property.

Returns

Type Description
LayoutControlGroup

The newly created layout group.

Remarks

This method overrides the base LayoutGroup.AddGroup method to create a LayoutControlGroup object. For more information, refer to the corresponding LayoutGroup.AddGroup method overload.

See Also