A newer version of this page is available. Switch to the current version.

GroupSummarySortInfoCollection.IndexOf(GroupSummarySortInfo) Method

Returns the position of the specified item within the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll


public int IndexOf(
    GroupSummarySortInfo info


Name Type Description
info GroupSummarySortInfo

The GroupSummarySortInfo object to locate in the collection.


Type Description

A zero-based integer representing the specified item's position within the collection. -1 if the collection doesn't contain the specified GroupSummarySortInfo object.


The IndexOf method iterates through the elements in the collection until the specified item is found starting from the first element in the collection. The first found element's index is returned.

See Also