# ComboBox Item Modes

Learn how to manipulate item representation in Combobox using the ItemMode property.

## Content



You can use the [ItemMode](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1ComboBox.ItemMode.html) property to build item presentation.

There are three options which include the following:

**Default**

In the default option, each C1ComboBoxItem is a string and can also be an image.

The following image illustrates a C1ComboBox with the Default option:

![comboboxdefault](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/comboitemmode_default.png)

For an example see the **ComboBoxImages** sample.

**HtmlPattern**

In the HtmlPattern, each item is built from a HTML pattern and bound item data.

The following image illustrates a C1ComboBox with the HtmlPattern:

![comboboxhtml](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/comboitemmode_html.png)

The HtmlPattern used above is set to the following: \<table>\<tr>\<td>Country:\</td>\<td>\<b>{Text}\</b>\</td>\</tr>\<tr>\<td align="right">Flag:\</td>\<td>\<img src='{Text}'>\</td>\</tr>\</table>

For an example see the **ComboBoxItemModes** sample.

**Html**

In the Html option, each item is a fragment of a HTML subset.

The following image illustrates a C1ComboBox with the Html option:

![comboboxhtmlpattern](https://cdn.mescius.io/document-site-files/images/6c2f30e9-4d3a-4f86-b649-ecbef777b3a3/images/comboitemmode_htmlpattern.png)

The Html used above is set to the following:

For an example see the **ComboBoxItemModes** sample.<br />

## See Also

[C1ComboBox Styling](/componentone/docs/win/online-input/usingthec1inputcontr/c1inputcontrols/C1ComboBoxControlOverview/comboStyling)