GridColumnCollection.Item[String] Property

Gets a column by the field name.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll


public GridColumn this[string fieldName] { get; }
Public ReadOnly Property Item(fieldName As String) As GridColumn


Name Type Description
fieldName String

A string value specifying the column's field name.

Property Value

Type Description

A GridColumn descendant whose GridColumn.FieldName property value matches the specified field. null if the collection does not contain a column with the specified field.



This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The property uses the GridColumnCollection.GetColumnByFieldName method internally.

For details on how to access individual columns from the collection, see Identify and Access Columns.

See Also