Condividi tramite


TableOfContentsDataSourceView Members

Include Protected Members
Include Inherited 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.

Top

Properties

  Name Description
Public property AnchorWeb Gets or sets the site in the collection to start pulling sites and pages from.
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 starting site and pages in that site.
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.)
Public property ShowPages Gets or sets a value that indicates whether to show pages.
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.)
Public method GetChildren Gets the collection of child objects filtered by 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 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. (Overrides HierarchicalDataSourceView.Select().)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

TableOfContentsDataSourceView Class

Microsoft.SharePoint.Publishing.WebControls Namespace