Nucleus .Net Core CMS

TagHelpers.MenuTagHelper Class

Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
Displays the site's menu structure.


ViewContext Property

Provides access to view context.

MaxLevels Property

Number of menu levels to display, or -1 for all levels.

RootPageType Property

Menu root page type

RootPageId Property

Specifies which page to use as the menu root, when RootPageType is "SelectedPage".

HideEmptyMenu Property

Specifies whether to render nothing if there are no pages in the menu.

UseName Property

Specifies whether to use the page name instead of the title for on-screen display.


ProcessAsync (TagHelperContext,TagHelperOutput) Method

ProcessAsync (TagHelperContext context, TagHelperOutput output)
Generate the output.