GridColumnSortInfoCollection.Item[GridColumn] Property

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

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public GridColumnSortInfo this[GridColumn column] { get; }
Public ReadOnly Property Item(column As GridColumn) As GridColumnSortInfo

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