Skip to main content

ICommandBarElement Interface

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Interface implemented by all command bar elements.

public interface ICommandBarElement

Properties

NameDescription
IsCompactGets or sets whether the element is in compact mode (icon only, no label).
IsInOverflowGets or sets whether the element is currently displayed inside the overflow popup. Set automatically by Avalonia.Controls.CommandBar when moving items between primary and overflow.

IsCompact Property

Gets or sets whether the element is in compact mode (icon only, no label).

public bool IsCompact { get; set; }

IsInOverflow Property

Gets or sets whether the element is currently displayed inside the overflow popup. Set automatically by Avalonia.Controls.CommandBar when moving items between primary and overflow.

public bool IsInOverflow { get; set; }