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

LookUpColumnInfoCollection.Item[String] Property

Gets a column by its field name.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public LookUpColumnInfo this[string fieldName] { get; }

#Parameters

Name Type Description
fieldName String

The field name of the column to return.

#Property Value

Type Description
LookUpColumnInfo

The first column encountered whose LookUpColumnInfo.FieldName property matches the specified field name.

#Remarks

The Item property allows you to get a column by a specific field name. Reading the property performs a search for a column whose LookUpColumnInfo.FieldName property identifies the specified field name. If no such column is found, null is returned.

To get a column at a specific position, use another overload of the property.

See the LookUpColumnInfoCollection.Add and LookUpColumnInfoCollection.AddRange methods to add columns to the collection.

See Also