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

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.2.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