Back to Devexpress

AppBarButton.IsCompact Property

wpf-devexpress-dot-xpf-dot-windowsui-dot-appbarbutton-94ea28c5.md

latest2.0 KB
Original Source

AppBarButton.IsCompact Property

Gets or sets whether this AppBarButton is displayed without a label and reduced margins.

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 this AppBarButton is displayed without a label and reduced margins; otherwise, false.

|

Remarks

The IsCompact property allows you to maximize space usage efficiency within an AppBar, narrowing AppBarButton margins and hiding its labels. To apply these changes to all AppBarButtons within an AppBar, use the AppBar.IsCompact property instead. The figure below illustrates two identical buttons with different IsCompact property values. The left button is shown in compact mode.

See Also

IsCompact

AppBar Control

AppBarButton Class

AppBarButton Members

DevExpress.Xpf.WindowsUI Namespace