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.v20.1.dll

Declaration

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

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