Back to Devexpress

LayoutGroup.Add(BaseLayoutItem) Method

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-dot-add-x28-devexpress-dot-xtralayout-dot-baselayoutitem-x29.md

latest1.8 KB
Original Source

LayoutGroup.Add(BaseLayoutItem) Method

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

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
itemBaseLayoutItem

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

Move

Parent

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace