SPWeb.HideSiteContentsLink property

Controls the appearance of the “site contents” link in the gear icon (the menu known as "Site Actions" in SharePoint 2010) of the UX control.

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

Syntax

'Declaration
Public Property HideSiteContentsLink As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.HideSiteContentsLink

instance.HideSiteContentsLink = value
public bool HideSiteContentsLink { get; set; }

Property value

Type: System.Boolean
Boolean

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace