# CheckBox

This topic covers details about the QuickAcess Toolbar in C1Ribbon.

## Content

CheckBoxes are helpful when there are multiple options appearing in a list. It can be used to turn an option on or off.

The following ribbon group contains three CheckBox items.

**![Checkbox](https://cdn.mescius.io/document-site-files/images/5560dc72-88a5-4eeb-a384-981194dfc831/images/checkboxes1.gif)**

### Adding CheckBox at Design-Time

The **Ribbon CheckBox** 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 CheckBox using the **Ribbon CheckBox Floating ToolBar** or editing the properties in **Properties** Window.

This image below shows the floating toolbar of CheckBox.

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

### Adding ChecBox through Code

The CheckBox can also be added to the **C1Ribbon** control programmatically. This can be done 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="RibbonCheckBox" data-popup-theme="ui-tooltip-green qtip-green">RibbonCheckBox</span> class.

```vbnet
' Add CheckBox button ribbon item
Dim reminderCheckBox As RibbonCheckBox = New RibbonCheckBox()
reminderCheckBox.IconSet.Add(New C1BitmapIcon(Nothing, New Size(20, 20), Color.Transparent, Image.FromFile("images\reminder.png")))
reminderCheckBox.Text = "Reminder"
formatGroup.Items.Add(reminderCheckBox)
```

```csharp
// Add CheckBox button ribbon item
RibbonCheckBox reminderCheckBox1 = new RibbonCheckBox();
reminderCheckBox1.IconSet.Add(new C1BitmapIcon(null, new Size(20, 20), Color.Transparent, Image.FromFile(@"images\reminder.png")));
reminderCheckBox1.Text ="Thumbnails";
formatGroup.Items.Add(reminderCheckBox1);
RibbonCheckBox reminderCheckBox2 = new RibbonCheckBox();
reminderCheckBox2.IconSet.Add(new C1BitmapIcon(null, new Size(20, 20), Color.Transparent, Image.FromFile(@"images\reminder.png")));
reminderCheckBox2.Text = "Document map";
formatGroup.Items.Add(reminderCheckBox2);
```