Share via


Menu.MenuAlignment Property

Gets or sets the alignment of the current menu instance.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.MenuAlignment

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

Property Value

Type: Microsoft.SharePoint.WebControls.MenuAlignment
One of the MenuAlignment values. Possible values are Default, Left, and Right. The default value is Default.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace