Skip to main content
A newer version of this page is available. .

LookUpColumnInfoCollection.Item[Int32] Property

Gets a column at the specified position.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.1.dll

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