LookUpColumnInfoCollection.CreateColumn() Method
In This Article
Creates a new column for a lookup editor.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual LookUpColumnInfo CreateColumn()
#Returns
Type | Description |
---|---|
Look |
A Look |
#Remarks
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