SPWeb.TreeViewEnabled Property

Gets or sets a Boolean value that specifies whether the SharePoint Foundation TreeView is enabled in the left navigational area of website pages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<ClientCallableAttribute> _
Public Property TreeViewEnabled As Boolean
Dim instance As SPWeb
Dim value As Boolean

value = instance.TreeViewEnabled

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

Property Value

Type: System.Boolean
true to enable the TreeView in the site; otherwise, false.

See Also


SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace