WebPartContextualInfo.ContextualGroups property

Gets contextual groups associated with a Web Part.

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

Syntax

'Declaration
Public ReadOnly Property ContextualGroups As IList(Of WebPartRibbonContextualGroup)
    Get
'Usage
Dim instance As WebPartContextualInfo
Dim value As IList(Of WebPartRibbonContextualGroup)

value = instance.ContextualGroups
public IList<WebPartRibbonContextualGroup> ContextualGroups { get; }

Property value

Type: System.Collections.Generic.IList<WebPartRibbonContextualGroup>
The context properties that describe Web Parts that are activity-centric.

Remarks

This property defines the contextual groups that will be shown when a Web Part is selected.

See also

Reference

WebPartContextualInfo class

WebPartContextualInfo members

Microsoft.SharePoint.WebControls namespace