WebPartContextualInfo.Tabs Property

Gets the ribbon tabs associated with the Web Part.

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

Syntax

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

value = instance.Tabs
public IList<WebPartRibbonTab> Tabs { get; }

Property Value

Type: System.Collections.Generic.IList<WebPartRibbonTab>
A collection of WebPartRibbonTab objects.

Remarks

Contextual tabs are displayed or are hidden when an object in the application workspace, such as an image, is selected. An entire tab will appear in some context, such as the Form Design tab when in form design, or the tab disappears. However, all other tabs and controls remain as they are.

See Also

Reference

WebPartContextualInfo Class

WebPartContextualInfo Members

Microsoft.SharePoint.WebControls Namespace