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)
Available in Sandboxed Solutions: No
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.