Share via


PublishingMenu.DisplayStyle property

Gets or sets the style in which the PublishingMenu will be displayed. SingleMenu style is not supported.

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

Syntax

'Declaration
Public Property DisplayStyle As PublishingMenuDisplayStyle
    Get
    Set
'Usage
Dim instance As PublishingMenu
Dim value As PublishingMenuDisplayStyle

value = instance.DisplayStyle

instance.DisplayStyle = value
public PublishingMenuDisplayStyle DisplayStyle { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.WebControls.PublishingMenuDisplayStyle
A PublishingMenuDisplayStyle value that represents the style that will be used to render this PublishingMenu.

See also

Reference

PublishingMenu class

PublishingMenu members

Microsoft.SharePoint.Publishing.WebControls namespace

PublishingMenu