Share via


SPRibbonMenu.Sections property

Gets a list of sections in the menu.

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

Syntax

'Declaration
Public ReadOnly Property Sections As List(Of SPRibbonMenuSection)
    Get
'Usage
Dim instance As SPRibbonMenu
Dim value As List(Of SPRibbonMenuSection)

value = instance.Sections
public List<SPRibbonMenuSection> Sections { get; }

Property value

Type: System.Collections.Generic.List<SPRibbonMenuSection>

See also

Reference

SPRibbonMenu class

SPRibbonMenu members

Microsoft.SharePoint.WebControls namespace