Try our conversational search powered by Generative AI!

Class PageSiteMapNode

Represents a node in the hierarchical site map structure provided by the PageSiteMapProvider.

Inheritance
System.Object
PageSiteMapNode
Namespace: EPiServer
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class PageSiteMapNode : SiteMapNode

Constructors

PageSiteMapNode(SiteMapProvider, PageData, PageData)

Initializes a new instance of the PageSiteMapNode class.

Declaration
public PageSiteMapNode(SiteMapProvider provider, PageData page, PageData parent)
Parameters
Type Name Description
System.Web.SiteMapProvider provider

The provider.

PageData page

The page.

PageData parent

The parent page.

Properties

CurrentPage

Gets the PageData instance that this PageSiteMapNode represents.

Declaration
public PageData CurrentPage { get; }
Property Value
Type Description
PageData

The current page.

ParentPage

Gets or sets the PageData instance that represents the parent of the current PageSiteMapNode.

Declaration
public PageData ParentPage { get; set; }
Property Value
Type Description
PageData

The parent page.

Extension Methods