Condividi tramite


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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property TreeViewEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.TreeViewEnabled

instance.TreeViewEnabled = value
[ClientCallableAttribute]
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