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[Int32] Property

Gets a column at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public LookUpColumnInfo this[int index] { get; }

#Parameters

Name Type Description
index Int32

The zero-based index of the column to return.

#Property Value

Type Description
LookUpColumnInfo

A column at the specified position.

#Remarks

Use the Item property to return the column at the specified position. If index denotes a value less than zero or greater than Count - 1, an exception of the ArgumentOutOfRangeException type is thrown. To return a column by its field name, you can use another overload of the property.

To add a column to the collection, see the LookUpColumnInfoCollection.Add and LookUpColumnInfoCollection.AddRange methods.

See Also