TableOfContentsDataSourceView members

Provides the view for the TableOfContentsDataSource object.

The TableOfContentsDataSourceView type exposes the following members.

Constructors

  Name Description
Public method TableOfContentsDataSourceView() Initializes a new instance of the TableOfContentsDataSourceView object.
Public method TableOfContentsDataSourceView(PortalSiteMapProvider) Initializes a new instance of the TableOfContentsDataSourceView object by using the specified PortalSiteMapProvider instance.

Top

Properties

  Name Description
Public property AnchorWeb Gets or sets the URL from which to start gathering data. (Inherited from BaseTableOfContentsDataSourceView.)
Public property HeaderTemplate Gets or sets the style to use to display the header text. (Inherited from LevelHierarchyDataSourceView.)
Public property HeaderText Gets or sets the text to display as a header above the contents of the data. (Inherited from LevelHierarchyDataSourceView.)
Public property IncludeContentFromStartingLocation Gets or sets a value that indicates whether to include the current site map node as the root site map node in the site map view. (Inherited from BaseTableOfContentsDataSourceView.)
Public property IncludeHiddenPages Gets or sets a value that indicates whether to include pages that are hidden from navigation.
Public property IncludeHiddenWebs Gets or sets a value that indicates whether to include sites that are hidden from navigation.
Public property Level1StyleTemplate Gets or sets the style to use to display items in the first level. (Inherited from LevelHierarchyDataSourceView.)
Public property Level2StyleTemplate Gets or sets the style to use to display items in the second level. (Inherited from LevelHierarchyDataSourceView.)
Public property Level3StyleTemplate Gets or sets the style to use to display items in the third level. (Inherited from LevelHierarchyDataSourceView.)
Public property NumColumns Gets or sets the number of columns used to render Levels. (Inherited from LevelHierarchyDataSourceView.)
Public property NumLevels Gets or sets the number of levels for which to get data. (Inherited from LevelHierarchyDataSourceView.)
Protected property Provider Gets the current SiteMapProvider object. (Inherited from BaseTableOfContentsDataSourceView.)
Public property ShowPages Gets or sets a value that indicates whether to show pages.
Protected property SiteMapNodeUrl Gets a string value indicating whether to include contents from the starting location. (Inherited from BaseTableOfContentsDataSourceView.)
Public property SortPagesBy Gets or sets an enumeration value that specifies a sort order for the pages.
Public property SortPagesByDirection Gets or sets an enumeration value that specifies a sort direction for the page sort order.
Public property SortWebsBy Gets or sets an enumeration value that specifies a sort order for the sites.
Public property SortWebsByDirection Gets or sets an enumeration value that specifies a sort direction for the site sort order.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetChildNodes Gets the child nodes of the specified PortalSiteMapNode instance. (Overrides BaseTableOfContentsDataSourceView.GetChildNodes(SiteMapNode).)
Public method GetChildren Gets the collection of child objects filtered by the properties of the view for sorting and ordering. (Overrides BaseTableOfContentsDataSourceView.GetChildren(LevelElementHierarchyData).)
Public method GetHashCode (Inherited from Object.)
Public method GetRootLevelElements Gets the first-level child elements of the root node. (Overrides BaseTableOfContentsDataSourceView.GetRootLevelElements(RootElementData).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Select Provides the entry point for querying the view for data, and constructs the root element. (Inherited from BaseTableOfContentsDataSourceView.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

TableOfContentsDataSourceView class

Microsoft.SharePoint.Publishing.WebControls namespace