Skip to main content

LookUpColumnInfo(String, String) Constructor

Initializes a new instance of the LookUpColumnInfo class with the specified field name and caption.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[LookUpColumnInfoPreferredConstructor]
public LookUpColumnInfo(
    string fieldName,
    string caption
)

Parameters

Name Type Description
fieldName String

The value to initialize the LookUpColumnInfo.FieldName property.

caption String

The value to initialize the LookUpColumnInfo.Caption property.

Remarks

The constructor allows you to create a column for a lookup editor and initialize its field name and caption.

After a column is created, you can add it to the column collection of a lookup editor by using the LookUpColumnInfoCollection.Add method. To access the column collection, see the RepositoryItemLookUpEdit.Columns property.

See Also