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

GridColumnSortInfoCollection.Item[GridColumn] Property

Gets the collection's item that refers to the specified column.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public GridColumnSortInfo this[GridColumn column] { get; }

Parameters

Name Type Description
column GridColumn

A GridColumn object identifying the collection's required item.

Property Value

Type Description
GridColumnSortInfo

A GridColumnSortInfo object that refers to the specified column.

Remarks

The Item property locates and returns a GridColumnSortInfo object whose GridColumnSortInfo.Column property refers to the specified column. If no such object is found, the Item property returns null.

See Also