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