Menu.StaticHoverStyle Property
Assembly: System.Web (in system.web.dll)
Use the StaticHoverStyle property to control the appearance of a static menu item when the mouse pointer is positioned over it. This property is read-only; however, you can set the properties of the Style object it returns. The properties can be set declaratively in the form Property-Subproperty, where Subproperty is a property of the Style object (for example, StaticHoverStyle-ForeColor). The properties can also be set programmatically in the form Property.Subproperty (for example, StaticHoverStyle.ForeColor).
Style properties for a static menu item are applied in the following order:
-
StaticMenuItemStyle. If the LevelMenuItemStyles collection or LevelSubMenuStyles collection is defined, it is applied at this time, overriding the other menu item style properties.
-
StaticSelectedStyle. If the LevelSelectedStyles collection is defined, it is applied at this time, overriding the other menu item style properties.
-
StaticHoverStyle.
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
Menu.LevelSubMenuStyles Property
StaticMenuItemStyle
StaticMenuStyle
StaticSelectedStyle