Gets a reference to the MenuItemStyle object that allows you to set the appearance of the dynamic menu item selected by the user.
Assembly: System.Web (in System.Web.dll)
Use the property to control the appearance of a dynamic menu item when the user selects it from the menu. This property is read-only; however, you can set the properties of the MenuItemStyle object it returns. The properties can be set declaratively in the form Property-Subproperty, where Subproperty is a property of the MenuItemStyle object (for example, DynamicSelectedStyle-ForeColor). The properties can also be set programmatically in the form Property.Subproperty (for example, DynamicSelectedStyle.ForeColor).
Style properties for a dynamic menu item are applied in the following order:
. If the LevelSelectedStyles collection is defined, it is applied at this time, overriding the other menu item style properties.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.