TreeViewEnabled property
Collapse the table of content
Expand the table of content

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)

public bool TreeViewEnabled { get; set; }

Property value

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