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)
Available in Sandboxed Solutions: No

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