Share via


ICommandBarElement Interface

Definition

Defines the compact view for command bar elements.

public interface class ICommandBarElement
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4176158900, 14142, 21287, 153, 66, 102, 161, 234, 33, 245, 249)]
struct ICommandBarElement
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(4176158900, 14142, 21287, 153, 66, 102, 161, 234, 33, 245, 249)]
public interface ICommandBarElement
Public Interface ICommandBarElement
Derived
Attributes

Properties

DynamicOverflowOrder

Gets or sets a value that indicates the order in which a primary command in a CommandBar should be moved to the overflow menu when there is not enough room to display all primary commands.

IsCompact

Gets or sets a value that indicates whether the element is shown with no label and reduced padding.

IsInOverflow

Gets a value that indicates whether the CommandBar command is currently located in the overflow menu.

Applies to