Table of Contents

Class NavigationTreeNodeProvider

Namespace
Dynamicweb.Frontend.Navigation
Assembly
Dynamicweb.dll
Base class for navigation tree node providers.
public abstract class NavigationTreeNodeProvider
Inheritance
NavigationTreeNodeProvider
Inherited Members

Methods

GetNodes(NavigationContext, NavigationSettings, NavigationTreeNode)

Gets the navigation nodes for a given parent based on the provided navigation context and navigation settings.
public virtual IEnumerable<NavigationTreeNode> GetNodes(NavigationContext context, NavigationSettings settings, NavigationTreeNode parent)

Parameters

context NavigationContext
The navigation context used to generate navigation tree nodes.
settings NavigationSettings
The navigation settings used to generate navigation tree nodes.
parent NavigationTreeNode
The parent navigation tree node.

Returns

IEnumerable<NavigationTreeNode>
A colllection of navigation tree nodes.

InitializeContext(NavigationContext)

Initialize a navigation context.
public virtual void InitializeContext(NavigationContext context)

Parameters

context NavigationContext
The navigation context used to generate navigation tree nodes.

Remarks

An important part here is to fill NodePathIds property - the collection of node identifiers from the root node to the active node
To top