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

CollectionItem.Index Property

Gets or sets the item’s index within the collection.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public virtual int Index { get; set; }

Property Value

Type Description
Int32

An integer value representing the zero-based index of the item within the collection.

Property Paths

You can access this nested property as listed below:

Object Type Path to Index
BootstrapChart
BootstrapPolarChart

Remarks

The value of this property is the current position of the item within the collection to which it belongs. You can use this property to reposition an item to a different location within its collection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Index property.

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