Menu.LevelSubMenuStyles Property
Assembly: System.Web (in system.web.dll)
public: property SubMenuStyleCollection^ LevelSubMenuStyles { SubMenuStyleCollection^ get (); }
/** @property */ public SubMenuStyleCollection get_LevelSubMenuStyles ()
public function get LevelSubMenuStyles () : SubMenuStyleCollection
Not applicable.
Property Value
A MenuItemStyleCollection that contains the style settings that are applied to the submenu items in the static menu based on their level in a Menu control.Use the LevelSubMenuStyles collection as an alternative to the individual style properties (such as StaticMenuItemStyle) to control the style of the static submenu items displayed in the static menu at the individual levels. The styles contained in this collection are applied to the static submenu items based on their menu level. The first style in the collection corresponds to the style of the first static submenu level displayed in the static menu. The second style in the collection corresponds to the style of the second submenu level displayed in the static menu, and so on. This collection is most often used to generate table of contents-style navigation menus where menu items at a certain level should have the same appearance, regardless of whether they have submenus.
Note: |
|---|
| If a style is defined for a certain level using the LevelSubMenuStyles collection, this overrides any static submenu item style settings at that level. |
Reference
Menu ClassMenu Members
System.Web.UI.WebControls Namespace
Menu.DynamicHoverStyle Property
Menu.DynamicMenuItemStyle Property
Menu.DynamicMenuStyle Property
Menu.DynamicSelectedStyle Property
Menu.LevelMenuItemStyles Property
Menu.LevelSelectedStyles Property
StaticHoverStyle
StaticMenuItemStyle
StaticMenuStyle
StaticSelectedStyle
Note: