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

GridColumnSortInfoCollection.Item[Int32] Property

Provides indexed access to the elements in the collection.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v21.2.dll

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

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