TcxCustomLookupComboBox.Properties Property
Contains settings controlling the behavior of a lookup combo box control.
Declaration
property Properties: TcxLookupComboBoxProperties read; write;
Property Value
Type |
---|
TcxLookupComboBoxProperties |
Remarks
Use the Properties property to specify settings controlling the behavior of a lookup combo box control.
The ListSource property specifies the lookup data source whose field values are displayed within the lookup combo box’s dropdown window. The ListFieldNames property specifies which ListSource fields are displayed within it. Setting this property creates columns within the dropdown window. Alternatively, you can use the ListColumns property to create columns to display in the dropdown window. Adding and removing columns via ListColumns is automatically reflected in the ListFieldNames property and vice versa.
The ListFieldIndex property addresses the data source field whose value is displayed in the editor’s edit box. The KeyFieldNames property specifies the lookup data source field(s) whose values are used to identify data source records. These field values match the edit value(s) (accessible via the editor’s EditValue property) and the value of the DataBinding.DataField field (for a data-aware lookup combo box).