Share via


TableOfContentsWebPart.IncludeHiddenPages property

Gets or sets a value that indicates whether to include pages that are hidden in navigation.

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

Syntax

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

value = instance.IncludeHiddenPages

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

Property value

Type: System.Boolean
The default value is false.

Remarks

If the Web Part is configured to show pages, it can also be configured to show hidden pages. If this property is set to true and ShowPages is set to true, then the Web Part will show hidden pages. If this property is false, the Web Part will not show hidden pages.

See also

Reference

TableOfContentsWebPart class

TableOfContentsWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace