A newer version of this page is available. Switch to the current version.

LookUpColumnInfoCollection.Item[String] Property

Gets a column by its field name.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll


public LookUpColumnInfo this[string fieldName] { get; }


Name Type Description
fieldName String

The field name of the column to return.

Property Value

Type Description

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


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