Share via


TableOfContentsWebPart.IncludeHiddenPages Property

Determines 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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property IncludeHiddenPages As Boolean
    Get
    Set
'Usage
Dim instance As TableOfContentsWebPart
Dim value As Boolean

value = instance.IncludeHiddenPages

instance.IncludeHiddenPages = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
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