Skip to main content

GridColumnCollection.Item[String] Property

Gets the column specified by the bound field name.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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