Skip to main content

AppBar.IsCompact Property

Gets or sets whether buttons in the AppBar are displayed without labels and reduced spacing. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v24.1.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public bool IsCompact { get; set; }

Property Value

Type Description
Boolean

true, if buttons in the AppBar are displayed without labels and reduced spacing; otherwise, false. The default is false.

Remarks

In normal mode, when the IsCompact property is set to false, buttons in the AppBar are displayed with labels and spacing between them is specified by the AppBar.ItemSpacing property. You can display buttons in the app bar without labels and reduced spacing, and thereby make the app bar more compact. To do this, set the IsCompact property to true.

See Also