Skip to main content
A newer version of this page is available. .
Tab

NavBarGroupContentStyle.ItemSpacing Property

Gets or sets the vertical spacing between items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(typeof(Unit), "")]
public virtual Unit ItemSpacing { get; set; }

Property Value

Type Default Description
Unit String.Empty

A Unit that represents the spacing value.

Remarks

Use the ItemSpacing property to define the vertical spacing between the adjacent items within a group (NavBarGroup.ContentStyle) or a navigation bar control (ASPxNavBar.GroupContentStyle) to which the current style is applied.

Note

The ItemSpacing property value might be explicitly defined in some themes, so specifying it has no effect.

NavBar

To specify spacing between groups, use the ASPxNavBar.GroupSpacing property.

See Also