Tab

MenuStyle.ItemSpacing Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.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.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemSpacing
HtmlEditorPasteOptionsBarStyles
.PasteOptionsBar.ItemSpacing

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