ICommandBarElement ICommandBarElement ICommandBarElement ICommandBarElement Interface

Definition

Defines the compact view for command bar elements.

public : interface ICommandBarElement
struct winrt::Windows::UI::Xaml::Controls::ICommandBarElement
public interface ICommandBarElement
Public Interface ICommandBarElement
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

IsCompact IsCompact IsCompact IsCompact

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

public : Platform::Boolean IsCompact { get; set; }
bool IsCompact(); void IsCompact(bool iscompact);
public bool IsCompact { get; set; }
Public ReadWrite Property IsCompact As bool
Value
bool bool

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