# .NET MAUI ToolbarItem Overview

![.NET MAUI Toolbar Visual Structure](https://www.telerik.com/maui-ui/documentation/assets/d18336404467e48aba353437a13840fc/toolbar-visual-structure.png "Visual elements of Toolbar")

The Telerik .NET MAUI Toolbar provides built-in toolbar items. The available items are described in the table below:

| Toolbar Item                    | Description                                                                                                  |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| `ToolbarItem`                   | Represents a toolbar item in the Toolbar control. All toolbar items listed below inherits from `ToolbarItem` |
| `EntryToolbarItem`              | Represents an entry toolbar item in the Toolbar control.                                                     |
| `ButtonToolbarItem`             | Represents a button in the Toolbar control.                                                                  |
| `DropDownButtonToolbarItem`     | Represents a button displaying a drop-down panel in the Toolbar control.                                     |
| `DropDownMenuButtonToolbarItem` | Represents a button displaying a drop-down menu in the Toolbar control.                                      |
| `ToggleButtonToolbarItem`       | Represents a toggle button in the Toolbar control.                                                           |
| `RadioButtonToolbarItem`        | Represents a radio button in the Toolbar control.                                                            |
| `NavigationButtonToolbarItem`   | Represents a navigation button in the Toolbar control.                                                       |
| `SplitButtonToolbarItem`        | Represents a split button in the Toolbar control. Works as an advanced drop-down menu.                       |
| `OptionsButtonToolbarItem`      | Represents a button displaying an options panel in the RadToolbar control.                                   |
| `SliderToolbarItem`             | Represents a slider in the Toolbar control                                                                   |
| `ListPickerButtonToolbarItem`   | Represents a list picker button in the Toolbar control.                                                      |
| `LabelToolbarItem`              | Represents a label in the Toolbar control. The label can display a text and optionally an image next to it.  |
| `BusyIndicatorToolbarItem`      | Represents a busy indicator in the Toolbar control.                                                          |
| `SeparatorToolbarItem`          | Represents a separator(which is an UI element) in the Toolbar control.                                       |
| `GroupToolbarItem`              | Organize toolbar items in a group.                                                                           |

In addition, you can define an option panel in the toolbar using the `RadToolbarOptionsPanel`.

## Common properties for configuration

All toolbar items inherits from `ToolbarItem`. The available properties ToolbarItem provides are:

* `IsVisible`(`bool`)—Specifies whether the toolbar item is visible.
* `IsEnabled`(`bool`)—Specifies whether the toolbar item is enabled.
* `Style`(`Style`)—Specifies the style applied to the toolbar item. Each toolbar item has a corresponding `ToolbarItemView`. And this is the target type of the Style.

For example the target type for `ButtonToolbarItem` `Style` is `ButtonToolbarItemView`.

* `ControlTemplate`(`Microsoft.Maui.Controls.ControlTemplate`)—Specifies the template applied to the toolbar item. Each toolbar item has a corresponding `ToolbarItemView`. And this is the target type of the `ControlTemplate`.

* `PlacementOptions`(enum of type `Telerik.Maui.Controls.ToolbarItemPlacementOptions`)—Defines the allowed placement options of the toolbar item in the toolbar. This type supports a bitwise combination of its members to enable more than one option. The available options are:
  * `ToolStrip`—The toolbar item appears in the main tool strip area of the toolbar.
  * `DropDown`—The toolbar item appears in the overflow drop-down menu of the toolbar.

## Styling

Style the toolbar items using the `Style`(`Style`) property. Each toolbar item has a corresponding `ToolbarItemView` and this is the target type of the Style property.

| Toolbar Item                                                                                                            | Style Target Type                   |
| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`ToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/overview)                          | `ToolbarItemView`                   |
| [`EntryToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/entry)                        | `entryToolbarItemView`              |
| [`ButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/button)                      | `ButtonToolbarItemView`             |
| [`DropDownButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/dropdown-button)     | `DropDownButtonToolbarItemView`     |
| [`DropDownMenuButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/dropdown-button) | `DropDownMenuButtonToolbarItemView` |
| [`ToggleButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/toggle-button)         | `ToggleButtonToolbarItemView`       |
| [`RadioButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/radio-button)           | `RadioButtonToolbarItemView`        |
| [`NavigationButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/navigation-button) | `NavigationButtonToolbarItemView`   |
| [`SplitButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/split-button)           | `SplitButtonToolbarItemView`        |
| [`OptionsButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/options-panel)        | `OptionsButtonToolbarItemView`      |
| [`SliderToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/slider)                      | `SliderToolbarItemView`             |
| [`ListPickerButtonToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/listpicker-button) | `ToolbarListItemView`               |
| [`LabelToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/label)                        | `LabelToolbarItemView`              |
| [`BusyIndicatorToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/busy-indicator)       | `BusyIndicatorToolbarItemView`      |
| [`SeparatorToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/separator)                | `SeparatorToolbarItemView`          |
| [`GroupToolbarItem`](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/group)                        | `GroupToolbarItemView`              |

Common properties that can be applied to the Style of each toolbar item are:

* `Orientation`(enum of type `Telerik.Maui.Controls.ToolbarOrientation`)—Specifies the orientation of the toolbar item in the toolbar. The available options are:
  * `Horizontal`
  * `Vertical`

* `PlacementLocation`(enum of type `Telerik.Maui.Controls.ToolbarItemPlacementOptions`)—Specifies the placement location of the toolbar item in the toolbar. This type supports a bitwise combination of its members to enable more than one option. The available options are:
  * `ToolStrip`—The toolbar item appears in the main tool strip area of the toolbar.
  * `DropDown`—The toolbar item appears in the overflow drop-down menu of the toolbar.

* `ControlTemplate`(`Microsoft.Maui.Controls.ControlTemplate`)—Specifies the control template of the toolbar item.

* `BackgroundColor`(`Microsoft.Maui.Graphics.Color`)—Specifies the background color of the toolbar item.

* `BorderColor`(`Microsoft.Maui.Graphics.Color`)—Specifies the border color of the toolbar item.

* `BorderThickness`(`Microsoft.Maui.Thickness`)—Specifies the border thickness of the toolbar item.

* `CornerRadius`(`Microsoft.Maui.Thickness`)—Specifies the corner radius of the toolbar item.

* `ContentPadding`(`Microsoft.Maui.Thickness`)—Specifies the content padding of the control.

## See Also

* [SplitButton ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/split-button)
* [ToggleButton ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/toggle-button)
* [Label ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/label)
* [NavigationButton ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/navigation-button)
* [ListPicker ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/listpicker-button)
* [Group ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/group)
* [RadioButton ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/radio-button)
* [Slider ToolbarItem](https://www.telerik.com/maui-ui/documentation/controls/toolbar/items/slider)
