Skip to main content
Tab

MenuStyle.ItemSpacing Property

Gets or sets the amount of space between the sub-menu items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

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 spacing between the adjacent menu items of a menu level that the current style applies to. If separators are visible, the item spacing is displayed before and after a separator.

Note

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

Menu_SubItemSpacing

To specify the amount of space between the root items, use the ASPxMenuBase.Items property.

See Also