Share via


TableOfContentsWebPart.StartFromCurrentNode property

Gets or sets a value that indicates whether the site map that corresponds to the current URL should become the root node in the navigation tree.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property StartFromCurrentNode As Boolean
    Get
    Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean

value = instance.StartFromCurrentNode

instance.StartFromCurrentNode = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool StartFromCurrentNode { get; set; }

Property value

Type: System.Boolean
A value that indicates whether the site map node that corresponds to the current URL should become the root node in the navigation tree.

Remarks

The StartFromCurrentNode property is only supported for managed navigation.

See also

Reference

TableOfContentsWebPart class

TableOfContentsWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace