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
contextNavigationContextThe navigation context used to generate navigation tree nodes.
settingsNavigationSettingsThe navigation settings used to generate navigation tree nodes.
parentNavigationTreeNodeThe 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
contextNavigationContextThe navigation context used to generate navigation tree nodes.