Share via


WebPartRibbonContextualGroup.VisibilityContext Property

Gets or sets the visibility context of the Server ribbon contextual group.

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 WebPartRibbonContextualGroup
Dim value As String

value = instance.VisibilityContext

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

Property Value

Type: System.String
A string that represents the visibility context of the contextual group.

Remarks

Contextual groups on the ribbon can share the same value for this property.

See Also

Reference

WebPartRibbonContextualGroup Class

WebPartRibbonContextualGroup Members

Microsoft.SharePoint.WebControls Namespace