Share via


TableOfContentsDataSourceView Members

Include Protected Members
Include Inherited Members

Provides the view for the TableOfContentsDataSource.

The TableOfContentsDataSourceView type exposes the following members.

Constructors

  Name Description
Public method TableOfContentsDataSourceView

Top

Properties

  Name Description
Public property AnchorWeb Site in the collection to start pulling sites and pages from.
Public property HeaderTemplate Style to use to display the header text. (Inherited from LevelHierarchyDataSourceView.)
Public property HeaderText Text to display as a header above the contents of the data. (Inherited from LevelHierarchyDataSourceView.)
Public property IncludeContentFromStartingLocation Determines whether to include the starting site and pages in that site.
Public property IncludeHiddenPages Determines whether to include pages that are hidden from navigation.
Public property IncludeHiddenWebs Determines whether to include sites that are hidden from navigation.
Public property Level1StyleTemplate Style to use to display items in the first level. (Inherited from LevelHierarchyDataSourceView.)
Public property Level2StyleTemplate Style to use to display items in the second level. (Inherited from LevelHierarchyDataSourceView.)
Public property Level3StyleTemplate Style to use to display items in the third level. (Inherited from LevelHierarchyDataSourceView.)
Public property NumColumns Number of columns used to render Levels. (Inherited from LevelHierarchyDataSourceView.)
Public property NumLevels Number of levels for which to get data. (Inherited from LevelHierarchyDataSourceView.)
Public property ShowPages Determines whether to show pages.
Public property SortPagesBy Determines a sort order for the pages.
Public property SortPagesByDirection Determines a sort direction for the page sort order.
Public property SortWebsBy Determines a sort order for the sites.
Public property SortWebsByDirection Determines a sort direction for the site sort order.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChildren Gets the collection of children that are passed in LevelElement, using the properties of the view for sorting and ordering. (Overrides LevelHierarchyDataSourceView.GetChildren(LevelElementHierarchyData).)
Public method GetHashCode (Inherited from Object.)
Public method GetRootLevelElements Gets the first level of LevelElements. These elements are child elements of the root node. (Overrides LevelHierarchyDataSourceView.GetRootLevelElements(RootElementData).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Select Entry point used for querying the data view. This method constructs the root element and then LevelElementHierarchyData objects get all child objects. (Overrides HierarchicalDataSourceView.Select().)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

TableOfContentsDataSourceView Class

Microsoft.SharePoint.Publishing.WebControls Namespace