Skip to main content

AppBarSeparator.IsCompact Property

Gets or sets whether this AppBarSeparator is displayed with narrowed margins. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v23.2.dll

NuGet Package: DevExpress.Wpf.Controls

Declaration

public bool IsCompact { get; set; }

Property Value

Type Description
Boolean

true, if this AppBarSeparator is displayed with narrowed margins; otherwise, false.

Remarks

The IsCompact property allows you to display a separator in compact mode, narrowing its margins. Use this setting when you have to display many AppBarSeparators and AppBarButtons within an AppBar Control. App bar buttons also have the AppBarButton.IsCompact property which allows you to display buttons with narrower margins and no labels. You can also use the AppBar.IsCompact property to switch all buttons and separators within this AppBarSeparator to compact mode.

See Also