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.v20.1.dll

Declaration

public LayoutControlGroup AddGroup(
    string text
)
Public Function AddGroup(
    text As String
) As LayoutControlGroup

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