Share via


MenuItem.BeginSection property

Gets or sets whether to create or delete a separator line above a menu item.

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

Syntax

'Declaration
Public Property BeginSection As Boolean
    Get
    Set
'Usage
Dim instance As MenuItem
Dim value As Boolean

value = instance.BeginSection

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

Property value

Type: System.Boolean
true if a separator is to be displayed above the menu item; otherwise, false. The default is false.

See also

Reference

MenuItem class

MenuItem members

Microsoft.SharePoint.WebPartPages namespace