Skip to main content

GridColumnSortInfoCollection.Item[Int32] Property

Provides indexed access to the elements in the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public GridColumnSortInfo this[int index] { get; }

Parameters

Name Type Description
index Int32

An integer value specifying the zero-based index of the required GridColumnSortInfo object.

Property Value

Type Description
GridColumnSortInfo

A GridColumnSortInfo object representing the item in the collection.

Remarks

Use this property to access a specific GridColumnSortInfo object in the collection using index notation. The index parameter defines a value between 0 and Count - 1. If the specified index is outside the available range, an exception will be raised.

See Also