Skip to main content

LookUpColumnInfo(String, String, Int32, FormatType, String, Boolean, HorzAlignment) Constructor

Creates an instance of the LookUpColumnInfo class and sets all its properties to specified values.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public LookUpColumnInfo(
    string fieldName,
    string caption,
    int width,
    FormatType formatType,
    string formatString,
    bool visible,
    HorzAlignment alignment
)

Parameters

Name Type Description
fieldName String

The value to initialize the LookUpColumnInfo.FieldName property.

caption String

The value to initialize the LookUpColumnInfo.Caption property.

width Int32

The value to initialize the LookUpColumnInfo.Width property.

formatType FormatType

The value to initialize the LookUpColumnInfo.FormatType property.

formatString String

The value to initialize the LookUpColumnInfo.FormatString property.

visible Boolean

The value to initialize the LookUpColumnInfo.Visible property.

alignment HorzAlignment

The value to initialize the LookUpColumnInfo.Alignment property.

Remarks

The constructor allows you to create a column for a lookup editor and initialize all its properties to specified values.

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