Use the control's Items collection to populate it with buttons. Root-level toolbar items are instances of the BootstrapToolbarItem class. Each button can display an icon, a text or both. You can customize buttons to turn them into the following types:
The DropDownMode property allows you to split a drop-down item into two buttons: one behaves like a regular button; the other invokes a pop-up menu.
The Radio Group UI specifies that only one toolbar item within a group can be checked at a time. To enable this functionality, specify equal GroupName properties for toolbar items that should be used as a Radio Group.
A data-bound Toolbar automatically creates a toolbar item for each data item. A created item's properties obtain values from data item attributes with corresponding names. You can also use the following properties to explicitly specify the mapping between toolbar item properties and data item attribute names:
BeginGroupField – Specifies the data source field that identifies toolbar items that should start a group.
IconCssClassField - Specifies the data source field that provides names of CSS classes that define the toolbar items' images.
NameField - Specifies the name of a data field that provides toolbar item's names.
NavigateUrlField - Specifies the name of a data field that provides URLs that are opened when the toolbar item is clicked.
TextField - Specifies the name of a data field that provides toolbar item's text.
ToolTipField - Specifies the name of a data field that provides the tooltip text for toolbar items.
The Bootstrap Toolbar control supports templates that allow you to customize the control's appearance and layout. A template can be applied to all toolbar items (control-level templates) or a specific item (item-level templates).
Template – Specifies a template applied to the current item.
TextTemplate – Specifies a template applied to the current item's text content.
SubMenuTemplate – Specifies a template applied to the current item's submenus.
The Bootstrap Toolbar automatically adapts to container size change or to various target device sizes. The following settings allow you to control what happens when the toolbar cannot fit into its container:
The Title property specifies the toolbar title that is never hidden.