GridColumnCollection.Item[String] Property

Gets a column by the field name.

Namespace: DevExpress.Mobile.DataGrid

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

Syntax

public GridColumn this[string fieldName] { get; }

Parameters

Type Name Description
String fieldName

A string value specifying the column's field name.

Returns

Type Description
GridColumn

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