Change Theme Settings
Change Theme Settings
Show All Themes

Item Appearance Customization

Open the combo box's dropdown window to see how the appearance of items is customized. Hover an item to see a custom tooltip.

This demo illustrates how to specify style settings for ASPxComboBox items using the ItemTextCellPrepared and ItemRowPrepared events.

To customize the appearance of the "Contact Name" and "Phone" columns in the editor, the ItemTextCellPrepared event is used. Cells in the "Contact Name" column are marked with the green color if the "Title" field value of a corresponding record in the data base is "Owner". These cells have a tooltip that displays the "Owner" text. In the "Phone" column, all phone numbers are italicized and marked with the red color.

The ItemRowPrepared event is used to specify rows with a custom tooltip that shows information from the "Country", "City", and "Address" fields.

Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Components Installer
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher)
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos