Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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