Back to Devexpress

TcxCustomComboBoxProperties Class

vcl-cxdropdownedit-4d484907.md

latest5.0 KB
Original Source

TcxCustomComboBoxProperties Class

The base class for all classes that implement combo box editor settings.

Declaration

delphi
TcxCustomComboBoxProperties = class(
    TcxCustomDropDownEditProperties,
    IcxPropertiesItemIndexProvider
)

Remarks

Combo box settings allow you to customize appearance and behavior of the following editors that display a drop-down window populated with menu items:

TcxComboBox | TcxDBComboBoxA general purpose combo box editor.TcxFontNameComboBox | TcxDBFontNameComboBoxA combo box editor that allows users to switch between font typefaces.TcxColorComboBox | TcxDBColorComboBoxA combo box designed to select a color.TcxMRUEdit | TcxDBMRUEditA text editor designed to display a list of most recently used (MRU) items in a drop-down window.TcxLookupComboBox | TcxDBLookupComboBoxA combo box editor whose drop-down window is populated with field values from the bound dataset.

Main API Members

The list below outlines key members of the TcxCustomComboBoxProperties class that allow you to configure a drop-down menu and related functionality.

  • Specify if the drop-down menu automatically adjusts its width to display menu items in full (DropDownAutoWidth).
  • Explicitly define drop-down window width (DropDownWidth).
  • Allow users to resize the drop-down window (DropDownSizeable).
  • Switch between available user input modes (DropDownListStyle).
  • Disable the drop-down window in read-only mode (AllowDropDownWhenReadOnly).
  • Change the number of simultaneously visible menu items in the drop-down window (DropDownRows).
  • Populate the list of expressions for automatic user input completion (Items).
  • Allow users to double-click the editor to switch between items (Revertable).
  • Adjust the height of individual drop-down menu items (OnMeasureItem).
  • Custom draw drop-down menu items (OnDrawItem).

Terminal TcxCustomComboBoxProperties Class Descendants

Do not use the TcxCustomComboBoxProperties class directly. Use the following descendants instead:

TcxComboBoxPropertiesStores combo box editor settings.TcxColorComboBoxPropertiesStores color combo box settings.TcxFontNameComboBoxPropertiesStores settings of a font name combo box editor (also called font picker).TcxImageComboBoxPropertiesStores image combo box editor settings.TcxCustomLookupEditPropertiesContains settings specific to lookup editors.TcxMRUEditPropertiesContains settings specific to MRU editors.

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TcxCustomEditProperties TcxCustomTextEditProperties TcxCustomMaskEditProperties TcxCustomDropDownEditProperties TcxCustomComboBoxProperties

See Also

TcxCustomColorComboBoxProperties Class

TcxCustomFontNameComboBoxProperties Class

TcxCustomImageComboBoxProperties Class

TcxCustomMRUEditProperties Class

TcxCustomComboBoxProperties Members

cxDropDownEdit Unit