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

LookUpColumnInfoCollection.CreateColumn() Method

Creates a new column for a lookup editor.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll


public virtual LookUpColumnInfo CreateColumn()


Type Description

A LookUpColumnInfo object that has been created.


This method creates a new instance of the LookUpColumnInfo class with default settings. Then use the column's properties to initialize its bound field, caption, width, etc. It's also possible to create a lookup column and initialize its settings directly via the LookUpColumnInfo class constructor.

After a column has been created, it must be added to the RepositoryItemLookUpEdit.Columns collection.

See Also