Skip to main content
A newer version of this page is available. .

GridColumnCollection.Item[String] Property

Gets the column specified by the bound field name.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public GridColumn this[string fieldName] { get; }

Parameters

Name Type Description
fieldName String

A string value specifying the column’s bound field name.

Property Value

Type Description
GridColumn

A GridColumn object representing the column bound to the specified field. null (Nothing in Visual Basic) if the collection doesn’t contain columns bound to the specified field.

Remarks

The property uses the GridColumnCollection.ColumnByFieldName method internally.

See Also