Skip to main content
A newer version of this page is available. .
Tab

ListEditItemCollectionBase.RemoveAt(Int32) Method

Removes an item with the specified index location from the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public void RemoveAt(
    int index
)

Parameters

Name Type Description
index Int32

The zero-based index location of the list edit item to remove.

Remarks

Use the RemoveAt method to remove specified items from the collection. All items that follow that item are then moved up to fill the vacant position. The indexes of the moved items are also updated. The ListEditItemCollectionBase.Clear method can be used to clear the collection.

A new item can be added to the collection by using the ListEditItemCollectionBase.AddRange method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveAt(Int32) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also