Share via


PublishingMenu.EnableHoverClasses Property

Gets or sets the value that indicates whether the menus should have hover-over styles.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property EnableHoverClasses As Boolean
    Get
    Set
'Usage
Dim instance As PublishingMenu
Dim value As Boolean

value = instance.EnableHoverClasses

instance.EnableHoverClasses = value
public bool EnableHoverClasses { get; set; }

Property Value

Type: System.Boolean

Remarks

The PublishingMenu is rendered as a set of Windows SharePoint Services menu controls. When this property is set to true, each of these menus are rendered with appropriate cascading style sheet classes which affect the user interface (UI) that displays when users hover over a menu.

See Also

Reference

PublishingMenu Class

PublishingMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace

PublishingMenu