Nucleus .Net Core CMS

HtmlContent.Menu.RootPageTypes Class

Namespace: Nucleus.ViewFeatures.HtmlContent.Menu
Assembly: Nucleus.ViewFeatures.dll
Menu root page types used by the TagHelpers.MenuTagHelper and HtmlHelpers.MenuHtmlHelper.

Fields

SiteRoot Field

Start from the root of the site (pages with no parent set).

SelectedPage Field

Display pages starting from the selected page, specified by rootPageId.

HomePage Field

Display pages starting from the site's home page.

CurrentPage Field

Display pages starting with the children of the current page.

ParentPage Field

Display pages starting with the current page's parent.

TopAncestor Field

Display pages starting with the top ancestor of the current page (the ancestor with no parent page set).

Dual Field

If the current page has a parent, use the same behavior as `Current Page`. If the current page does not have a parent, use the same behaviour as `Top Ancestor`.