# Font ComboBox

This topic covers details about Font combobox in C1Ribbon.

## Content

The Font ComboBox is a combination of drop-down list and list box that shows the available font styles. It also provides a single-line text box. The user can click the Font ComboBox to view the dropdown list of available font styles.

![Font combobox](https://cdn.mescius.io/document-site-files/images/5560dc72-88a5-4eeb-a384-981194dfc831/images/fontcombobox.png)

### Adding FontComboBox at Design-Time

The **Ribbon FontComboBox** can be added at design-time using the **Ribbon Group Floating Toolbar** or **RibbonGroup Items Collection Editor**. Also, you can customize the look of the Ribbon FontComboBox using the **Ribbon FontComboBox Floating ToolBar** or editing the properties in the **Properties** window. Refer this [topic](/componentone/docs/win/online-ribbon/concepts/designtimesupport/floatingtoolbar) for more information on floating toolbars. You can add items to the dropdown menu of FontComboBox using the RibbonFontComboBox Menu Items Collection Editor. For more information on Collection Editors, refer this [topic](/componentone/docs/win/online-ribbon/concepts/designtimesupport/collectioneditors).

The image below shows the floating toolbar of FontComboBox.

![Floating toolbar](https://cdn.mescius.io/document-site-files/images/5560dc72-88a5-4eeb-a384-981194dfc831/images/fcb_ft.png)

### Adding FontComboBox via Code

A Font ComboBox can also be added to the C1Ribbon control through the code using the <span data-popup-content="This class is available in \u003ca href=\u0022/componentone/docs/win/online-ribbon/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-ribbon/\u0022\u003e.NET Framework\u003c/a\u003e." data-popup-title="RibbonFontComboBox" data-popup-theme="ui-tooltip-green qtip-green">RibbonFontComboBox</span> class. This is depicted in the code below:

```vbnet
'Add FontComboBox ribbon item
Dim fontComboBox As RibbonFontComboBox = New RibbonFontComboBox()
fontComboBox.Text = "Select a font"
fontComboBox.AutoCompleteMode = ComboBoxAutoCompleteMode.Suggest
formatGroup.Items.Add(fontComboBox)
```

```csharp
// Add FontComboBox ribbon item
RibbonFontComboBox fontComboBox = new RibbonFontComboBox();
fontComboBox.Text = "Select a font";
fontComboBox.AutoCompleteMode = ComboBoxAutoCompleteMode.Suggest;
formatGroup.Items.Add(fontComboBox);
```