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 |
---|---|---|
field |
String | The field name of the column to return. |
#Property Value
Type | Description |
---|---|
Look |
The first column encountered whose Look |
#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.