Skip to content

ToolbarMenuItem class

Represents a toolbar item that displays a submenu.

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

Declaration

public class ToolbarMenuItem : ToolbarButtonBaseItem, IToolbarItemsHolder

Public Members

name description
ToolbarMenuItem() Initializes a new instance of the ToolbarMenuItem class.
DropDownOpenMode { get; set; } Gets or sets the pointer action that opens the item's drop-down popup.
IsPopupOpen { get; set; } Gets or sets whether the item's popup is open.
ItemCount { get; } Gets the number of item containers.
Items { get; } Gets the collection of toolbar items.
ItemsSource { get; set; } Gets or sets the collection whose items are used to generate toolbar items.
event Closed Occurs after the popup closes.
event Closing Occurs before the popup closes. Cancel the event to prevent closing.
event Opened Occurs after the popup opens.
event Opening Occurs before the popup opens. Cancel the event to prevent opening.

See Also

Used in articles