Share via


WebPartRibbonTab.VisibilityContext property

Gets or sets the visibility context for the Server ribbon tab associated with the Web Part.

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

Syntax

'Declaration
Public Property VisibilityContext As String
    Get
    Set
'Usage
Dim instance As WebPartRibbonTab
Dim value As String

value = instance.VisibilityContext

instance.VisibilityContext = value
public string VisibilityContext { get; set; }

Property value

Type: System.String
A string that contains the visibility context of the tab.

See also

Reference

WebPartRibbonTab class

WebPartRibbonTab members

Microsoft.SharePoint.WebControls namespace