Class PageNavigationTreeNodeProvider
- Namespace
- Dynamicweb.Frontend.Navigation
- Assembly
- Dynamicweb.dll
[AddInOrder(1)]
public class PageNavigationTreeNodeProvider : NavigationTreeNodeProvider
- Inheritance
-
PageNavigationTreeNodeProvider
- Inherited Members
Methods
GetNodes(NavigationContext, NavigationSettings, NavigationTreeNode)
Gets the page navigation nodes for a given parent based on the provided navigation context and navigation settings.
public override 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 page navigation tree nodes.
InitializeContext(NavigationContext)
Initialize a navigation context.
public override void InitializeContext(NavigationContext context)
Parameters
context
NavigationContext- The navigation context used to generate navigation tree nodes.