Skip to main content

LookUpColumnInfo(String, Int32, String) Constructor

Creates an instance of the LookUpColumnInfo class and initializes its field name, caption and width.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public LookUpColumnInfo(
    string fieldName,
    int width,
    string caption
)

Parameters

Name Type Description
fieldName String

The value to initialize the LookUpColumnInfo.FieldName property.

width Int32

The value to initialize the LookUpColumnInfo.Width property.

caption String

The value to initialize the LookUpColumnInfo.Caption property.

Remarks

The constructor creates a column and initializes its field name, caption and width with the specified values.

Other properties are set as follows:

After a column has been created, you can add it to a lookup editor’s column collection by using the LookUpColumnInfoCollection.Add method, for instance. To access the column collection, see the RepositoryItemLookUpEdit.Columns property.

See Also