Partager via


ToolBarMenuButton.AlignToParent property

AlignToParent Specifies whether the menu should be aligned to its parent element

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

Syntax

'Declaration
Public Property AlignToParent As Boolean
    Get
    Set
'Usage
Dim instance As ToolBarMenuButton
Dim value As Boolean

value = instance.AlignToParent

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

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

ToolBarMenuButton class

ToolBarMenuButton members

Microsoft.SharePoint.WebControls namespace