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 |
---|---|---|
field |
String | The value to initialize the Look |
caption | String | The value to initialize the Look |
width | Int32 | The value to initialize the Look |
format |
Format |
The value to initialize the Look |
format |
String | The value to initialize the Look |
visible | Boolean | The value to initialize the Look |
alignment | Horz |
The value to initialize the Look |
#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.