Back to Devexpress

GridColumnSortInfoCollection.Item[GridColumn] Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-gridcolumnsortinfocollection-dot-item-x28-devexpress-dot-xtragrid-dot-columns-dot-gridcolumn-x29.md

latest2.1 KB
Original Source

GridColumnSortInfoCollection.Item[GridColumn] Property

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

Namespace : DevExpress.XtraGrid.Columns

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
columnGridColumn

A GridColumn object identifying the collection’s required item.

|

Property Value

TypeDescription
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

GridColumnSortInfoCollection Class

GridColumnSortInfoCollection Members

DevExpress.XtraGrid.Columns Namespace