Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2010 product release

Other versions are also available for the following:
TableOfContentsWebPart..::.ShowPages Property

Gets or sets a value that indicates whether to show Web pages.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Visual Basic (Declaration)
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property ShowPages As Boolean
    Get
    Set
Visual Basic (Usage)
Dim instance As TableOfContentsWebPart
Dim value As Boolean

value = instance.ShowPages

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

Property Value

Type: System..::.Boolean
The default value is true.

The Web Part can be configured to show or hide pages. If this property is set to true, the Web Part will show Web pages, otherwise, it will hide Web pages.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker