Menu::DynamicHoverStyle Property
Gets a reference to the Style object that allows you to set the appearance of a dynamic menu item when the mouse pointer is positioned over it.
Assembly: System.Web (in System.Web.dll)
public: [PersistenceModeAttribute(PersistenceMode::InnerProperty)] property Style^ DynamicHoverStyle { Style^ get(); }
Property Value
Type: System.Web.UI.WebControls::Style^A reference to the Style that represents the style of a dynamic menu item when the mouse pointer is positioned over it.
Use the DynamicHoverStyle property to control the appearance of a dynamic 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, DynamicHoverStyle-ForeColor). The properties can also be set programmatically in the form Property.Subproperty (for example, DynamicHoverStyle.ForeColor).
Style properties for a dynamic menu item are applied in the following order:
DynamicMenuItemStyle. If the LevelMenuItemStyles collection or LevelSubMenuStyles collection is defined, it is applied at this time, overriding the other menu item style properties.
DynamicSelectedStyle. If the LevelSelectedStyles collection is defined, it is applied at this time, overriding the other menu item style properties.
DynamicHoverStyle.
Available since 2.0