LayoutGroup.Add(BaseLayoutItem) Method

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public void Add(
    BaseLayoutItem item
)
Public Sub Add(
    item As BaseLayoutItem
)

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