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

AppBar.ItemSpacing Property

Gets or set the distance between items in the AppBar.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public double ItemSpacing { get; set; }

#Property Value

Type Description
Double

The distance between items in the AppBar, in pixels.

#Remarks

The ItemSpacing property allows you to adjust the distance between items in the AppBar. In regular mode, when the AppBar.IsCompact property is set to false, buttons in the AppBar are displayed with labels and the spacing between them is specified by the ItemSpacing property. The AppBar can also be rendered in compact mode. In this mode, buttons in the AppBar are displayed without labels and the spacing between them is reduced. To display the AppBar in compact mode, set the AppBar.IsCompact property to true.

See Also