Menu::StaticHoverStyle Property
Gets a reference to the Style object that allows you to set the appearance of a static menu item when the mouse pointer is positioned over it.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.