Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumnCollection.Item[String] Property

Gets the column specified by the bound field name.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.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