LayoutControlGroup.AddItem(BaseLayoutItem) Method

Inserts the specified layout item to the current group.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public LayoutControlItem AddItem(
    BaseLayoutItem newItem
)
Public Function AddItem(
    newItem As BaseLayoutItem
) As LayoutControlItem

Parameters

Name Type Description
newItem BaseLayoutItem

The layout item to add to the current group.

Returns

Type Description
LayoutControlItem

The added layout item.

Remarks

This method overrides the base LayoutGroup.AddItem method to return a LayoutControlItem object. For more information, refer to the corresponding LayoutGroup.AddItem method overload.

See Also