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