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

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