Skip to content

ToolbarContainerControl class

Hosts toolbars along a docking edge or in a standalone container.

Namespace: Eremex.AvaloniaUI.Controls.Bars
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class ToolbarContainerControl : ItemsControl

Constructors

name description
ToolbarContainerControl() Initializes a new instance of the ToolbarContainerControl class.

Properties

name description
AllowCustomizationMenu { get; set; } Gets or sets whether the container allows a customization menu, or null to use the manager's setting.
DockType { get; set; } Gets or sets the docking edge of the toolbar container.
DrawBackground { get; set; } Gets or sets whether the toolbar container draws its background.
IsVertical { get; } Gets whether the toolbar container has a vertical orientation.
Manager { get; set; } Gets or sets the toolbar manager associated with this object.
Orientation { get; set; } Gets or sets the orientation of toolbars in the container.
VerticalTextRotation { get; set; } Gets or sets the direction in which text is rotated in vertical toolbars.

Methods

name description
AddToolbar(…) Adds the specified toolbar to the container and returns whether it was added.
RemoveToolbar(…) Removes the specified toolbar from the container and returns whether it was removed.
ShowCustomizationMenu() Displays the toolbar container's customization menu.
override ToString()

See Also

Used in articles