# Toolbar class

Displays a collection of toolbar items as a toolbar, main menu, or status bar.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Bars`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class Toolbar : TemplatedControl, IMxMainMenu, INavigatable, IToolbarItemsHolder
```

## Public Members

| name | description |
| --- | --- |
| [Toolbar](Toolbar/Toolbar.md)() | Initializes a new instance of the Toolbar class. |
| [AllowDragToolbar](Toolbar/AllowDragToolbar.md) { get; set; } | Gets or sets whether users can drag the toolbar, or null to allow dragging only in the default display mode. |
| [AllowShrinkToolbar](Toolbar/AllowShrinkToolbar.md) { get; set; } | Gets or sets whether the toolbar can shrink and move overflowing items into its customization popup. |
| [AllowVisibilityCustomization](Toolbar/AllowVisibilityCustomization.md) { get; set; } | Gets or sets whether users can change the toolbar's visibility, or null to allow visibility changes for all display modes except the main menu. |
| [Column](Toolbar/Column.md) { get; set; } | Gets or sets the toolbar's column within its container. |
| [Container](Toolbar/Container.md) { get; set; } | Gets or sets the container that hosts the toolbar. |
| [CustomizationButtonVisible](Toolbar/CustomizationButtonVisible.md) { get; } | Gets whether the toolbar's customization button is currently visible. |
| [DisplayMode](Toolbar/DisplayMode.md) { get; set; } | Gets or sets how the toolbar displays its items. |
| [DockType](Toolbar/DockType.md) { get; set; } | Gets or sets the docking location of the toolbar. |
| [DrawThemeBorder](Toolbar/DrawThemeBorder.md) { get; set; } | Gets or sets whether the toolbar displays its themed border. |
| [FloatingPosition](Toolbar/FloatingPosition.md) { get; set; } | Gets or sets the screen position of the floating toolbar. |
| [ItemCount](Toolbar/ItemCount.md) { get; } | Gets the number of item containers. |
| [Items](Toolbar/Items.md) { get; } | Gets the collection of toolbar items. |
| [ItemsSource](Toolbar/ItemsSource.md) { get; set; } | Gets or sets the collection whose items are used to generate toolbar items. |
| [Manager](Toolbar/Manager.md) { get; set; } | Gets or sets the toolbar manager associated with this object. |
| [Position](Toolbar/Position.md) { get; set; } | Gets or sets the toolbar's position along its container. |
| [Row](Toolbar/Row.md) { get; set; } | Gets or sets the toolbar's row within its container. |
| [SerializationInfo](Toolbar/SerializationInfo.md) { get; } | Gets the layout information used during serialization or deserialization. |
| [SerializationName](Toolbar/SerializationName.md) { get; set; } | Gets or sets the name used to identify this object during layout serialization. |
| [ShowCustomizationButton](Toolbar/ShowCustomizationButton.md) { get; set; } | Gets or sets whether to show the toolbar's customization button, or null to use the default behavior. |
| [StretchToolbar](Toolbar/StretchToolbar.md) { get; set; } | Gets or sets whether the toolbar stretches to fill the available space. |
| [Title](Toolbar/Title.md) { get; set; } | Gets or sets the toolbar's display title. |
| [ToolbarName](Toolbar/ToolbarName.md) { get; set; } | Gets or sets the name used to identify the toolbar. |
| [UserToolbar](Toolbar/UserToolbar.md) { get; set; } | Gets or sets whether the toolbar was created by the user. |
| [WrapItems](Toolbar/WrapItems.md) { get; set; } | Gets or sets whether toolbar items wrap onto additional rows or columns. |
| [ClearGeneratedToolbar](Toolbar/ClearGeneratedToolbar.md)() | Clears the state associated with a generated toolbar. |
| [GetAllowCustomization](Toolbar/GetAllowCustomization.md)() | Returns whether the toolbar allows customization based on its ShowCustomizationButton setting. |
| override [ToString](Toolbar/ToString.md)() |  |

## See Also

* interface [IToolbarItemsHolder](./IToolbarItemsHolder.md)
* namespace [Eremex.AvaloniaUI.Controls.Bars](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
