Share via


PublishingMenu.MenuAlignment Property

MenuAlignment for the menus contained within this PublishingMenu. Alignment can be Left, Right, or Default.

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

Syntax

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

value = instance.MenuAlignment

instance.MenuAlignment = value
public MenuAlignment MenuAlignment { get; set; }

Property Value

Type: Microsoft.SharePoint.WebControls.MenuAlignment

Remarks

The PublishingMenu is rendered as a set of Windows SharePoint Services menu controls. Each of these menus is rendered with the MenuAlignment specified by this property.

See Also

Reference

PublishingMenu Class

PublishingMenu Members

Microsoft.SharePoint.Publishing.WebControls Namespace

PublishingMenu