Skip to main content

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