GridColumnCollection.GetColumnByFieldName(String) Method

Returns a column specified by its field name.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public GridColumn GetColumnByFieldName(
    string fieldName
)
Public Function GetColumnByFieldName(
    fieldName As String
) As GridColumn

Parameters

Name Type Description
fieldName String

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.

Remarks

IMPORTANT

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.

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

See Also