AppBarButton.IsCompact Property

Definition

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

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.AppBarButton.IsCompact.

public:
 property bool IsCompact { bool get(); void set(bool value); };
bool IsCompact();

void IsCompact(bool value);
public bool IsCompact { get; set; }
var boolean = appBarButton.isCompact;
appBarButton.isCompact = boolean;
Public Property IsCompact As Boolean
<AppBarButton IsCompact="bool" .../>

Property Value

Boolean

bool

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

Implements

Remarks

Applies to