Back to Devexpress

AppBar.IsCompact Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-appbar-000d44e9.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Controls

Declaration

csharp
public bool IsCompact { get; set; }
vb
Public Property IsCompact As Boolean

Property Value

TypeDescription
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

ItemSpacing

AppBar Control

AppBar Class

AppBar Members

DevExpress.Xpf.WindowsUI Namespace