LayoutGroup.RemoveAt(Int32) Method

Removes the child item at the specified index.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public void RemoveAt(
    int index
)
Public Sub RemoveAt(
    index As Integer
)

Parameters

Name Type Description
index Int32

An integer that specifies the index of the item to remove.

Remarks

The RemoveAt method removes the child item that has the specified index. The index is an integer value that uniquely identifies an item in the LayoutGroup.Items collection. It can be between 0 and LayoutGroup.Count - 1, inclusive.

This method hides the item by deleting it from the LayoutControl.Items collection. The item is not disposed of.

If the addressed item is a group, all items within this group will be removed from the layout.

To dispose of an item use its Dispose method. If an item represents a LayoutControlItem object, its control is not destroyed.

See Also