MenuItemStyle.ItemSpacing Property
.NET Framework 3.0
Gets or sets the amount of vertical spacing between the menu item to which the MenuItemStyle object is applied and its adjacent menu items.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public Unit get_ItemSpacing () /** @property */ public void set_ItemSpacing (Unit value)
public function get ItemSpacing () : Unit public function set ItemSpacing (value : Unit)
Not applicable.
Property Value
The amount of vertical spacing (in pixels) between the menu item to which the MenuItemStyle object is applied and its adjacent menu items. The default is 0.Use the ItemSpacing property to control the amount of vertical spacing between a menu item to which the MenuItemStyle object is applied and its adjacent menu items at the same level. This space is inserted between the upper edge of the current menu item and the lower edge of the previous menu item, as well as between the lower edge of the current menu item and upper edge of the next menu item.
Note: |
|---|
| The upper space is not rendered for the first menu item in the Menu control. |
Community Additions
ADD
Show:
Note: