Skip to main content

GroupSummarySortInfoCollection.IndexOf(GroupSummarySortInfo) Method

Returns the position of the specified item within the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public int IndexOf(
    GroupSummarySortInfo info
)

Parameters

Name Type Description
info GroupSummarySortInfo

The GroupSummarySortInfo object to locate in the collection.

Returns

Type Description
Int32

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

Remarks

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