Skip to main content

LayoutGroup.Add(BaseLayoutItem) Method

Adds the specified item along the bottom or right edge of the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

public void Add(
    BaseLayoutItem item
)

Parameters

Name Type Description
item BaseLayoutItem

The item to be added to the current group.

Remarks

This method adds the specified item along the bottom or right edge of the current group, depending upon the value of the LayoutGroup.DefaultLayoutType property. This method changes the item’s BaseLayoutItem.Parent property so that it refers to the current group.

To add an item at a specific position within a group, use the BaseLayoutItem.Move method.

See Also