# ToolbarManager class

Manages toolbars, toolbar items, popup menus, keyboard shortcuts, and customization.

**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 ToolbarManager : Border
```

## Public Members

| name | description |
| --- | --- |
| [ToolbarManager](ToolbarManager/ToolbarManager.md)() | Initializes a new instance of the ToolbarManager class. |
| static [FindManager](ToolbarManager/FindManager.md)(…) | Finds the toolbar manager for the specified control, optionally creating a window manager with the supplied factory. |
| static [GetManager](ToolbarManager/GetManager.md)(…) | Gets the toolbar manager associated with the specified object. |
| [AllowContainerCustomizationMenu](ToolbarManager/AllowContainerCustomizationMenu.md) { get; set; } | Gets or sets whether toolbar containers can display a customization menu. |
| [AllowCustomization](ToolbarManager/AllowCustomization.md) { get; set; } | Gets or sets whether users can customize toolbars and toolbar items. |
| [AllowDragItems](ToolbarManager/AllowDragItems.md) { get; set; } | Gets or sets whether users can drag toolbar items during customization. |
| [Containers](ToolbarManager/Containers.md) { get; } | Gets the collection of toolbar containers. |
| [DragItem](ToolbarManager/DragItem.md) { get; set; } | Gets or sets the toolbar item currently being dragged. |
| [IsMainMenuActivated](ToolbarManager/IsMainMenuActivated.md) { get; } | Gets whether the main menu is active for keyboard navigation. |
| [IsWindowManager](ToolbarManager/IsWindowManager.md) { get; set; } | Gets or sets whether this manager acts as the toolbar manager for its window. |
| [Items](ToolbarManager/Items.md) { get; } | Gets the collection of toolbar items. |
| [MainMenu](ToolbarManager/MainMenu.md) { get; set; } | Gets or sets the toolbar used as the main menu. |
| [Popups](ToolbarManager/Popups.md) { get; } | Gets the collection of registered popups. |
| [SerializationInfo](ToolbarManager/SerializationInfo.md) { get; } | Gets the layout information used during serialization or deserialization. |
| [Toolbars](ToolbarManager/Toolbars.md) { get; } | Gets the collection of toolbars. |
| event [PreviewAccessKey](ToolbarManager/PreviewAccessKey.md) | Occurs before a toolbar access key is processed. |
| event [PreviewHotKey](ToolbarManager/PreviewHotKey.md) | Occurs before a toolbar keyboard shortcut is processed. Cancel the event to prevent processing. |
| [GetContainer](ToolbarManager/GetContainer.md)(…) | Returns the toolbar container for the specified docking location, or null if no container is registered. |
| [GetToolbar](ToolbarManager/GetToolbar.md)(…) | Returns the toolbar with the specified name, or null if no matching toolbar is registered. |
| [HideCustomizationWindow](ToolbarManager/HideCustomizationWindow.md)() | Closes the toolbar customization window. |
| [PostEditor](ToolbarManager/PostEditor.md)() | Posts the active editor's value. |
| [RestoreLayout](ToolbarManager/RestoreLayout.md)(…) | Restores the layout from the specified stream using the default serialization settings. (2 methods) |
| [SaveLayout](ToolbarManager/SaveLayout.md)(…) | Saves the layout to the specified stream using the default serialization settings. (2 methods) |
| [ShowCustomizationWindow](ToolbarManager/ShowCustomizationWindow.md)(…) | Displays the toolbar customization window with the specified owner window. |
| static [GetContextPopup](ToolbarManager/GetContextPopup.md)(…) | Gets the context popup associated with the specified object. |
| static [SetContextPopup](ToolbarManager/SetContextPopup.md)(…) | Sets the context popup associated with the specified object. |
| static [SetManager](ToolbarManager/SetManager.md)(…) | Sets the toolbar manager associated with the specified object. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Bars](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
