Class PageHierarchicalView

Supports the PageDataSource control and provides an hierarchical view used by HierarchicalDataBoundControls.

Inheritance
System.Object
PageHierarchicalView
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class PageHierarchicalView : HierarchicalDataSourceView

Constructors

PageHierarchicalView(IHierarchicalPageDataSource, String)

Creates a PageHierarchicalDataSourceView

Declaration
public PageHierarchicalView(IHierarchicalPageDataSource dataSource, string viewPath)
Parameters
Type Name Description
IHierarchicalPageDataSource dataSource

The datasource that owns this view

System.String viewPath

A string that represents created views position in the hierarchical structure.

Properties

DataSource

The IHierarchicalPageDataSource that owns this view

Declaration
public IHierarchicalPageDataSource DataSource { get; }
Property Value
Type Description
IHierarchicalPageDataSource

ViewPath

A string that represents this views position in the hierarchical structure.

Declaration
public string ViewPath { get; }
Property Value
Type Description
System.String

Methods

Select()

Returns the actual data for this view

Declaration
public override IHierarchicalEnumerable Select()
Returns
Type Description
System.Web.UI.IHierarchicalEnumerable

Extension Methods