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


Type Name Description
String fieldName

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.

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