Skip to main content

LookUpColumnInfoCollection.Item[String] Property

Gets a column by its field name.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.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