ICommandBarElement ICommandBarElement ICommandBarElement Interface

Defines the compact view for command bar elements.

Syntax

Declaration

public interface ICommandBarElementpublic interface ICommandBarElementPublic Interface ICommandBarElement

Properties summary

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

Properties

  • IsCompact
    IsCompact
    IsCompact
    IsCompact

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

    public bool IsCompact { get; set; }public bool IsCompact { get; set; }Public ReadWrite Property IsCompact As bool

    Property Value

    • bool
      bool
      bool

      true if the element is shown in its compact state; otherwise, false. The default is false.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.GuidAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.UI.Xaml.Controls.dll