WebPartContextualInfo.ContextualGroups Property

Gets contextual groups associated with a Web Part.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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