Share via


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)

Syntax

'Declaration
Public Property TreeViewEnabled As Boolean
    Get
    Set
'Usage
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

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace