Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public bool IsCompact { get; set; }

#Property Value

Type Description
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.

AppBarButton - IsCompact

See Also