MenuStyle.ItemSpacing Property
Gets or sets the amount of space between the sub-menu items.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
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.
To specify the amount of space between the root items, use the ASPxMenuBase.Items property.
See Also