Back to Devexpress

LayoutControlGroup.AddGroup(String) Method

windowsforms-devexpress-dot-xtralayout-dot-layoutcontrolgroup-dot-addgroup-x28-system-dot-string-x29.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
textString

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

|

Returns

TypeDescription
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

LayoutControlGroup Class

LayoutControlGroup Members

DevExpress.XtraLayout Namespace