TagHelpers.MenuTagHelper Class
Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
Displays the site's menu structure.
Properties
Specifies whether to render nothing if there are no pages in the menu.
MaxLevels
Property
Number of menu levels to display, or -1 for all levels.
Css classes to apply to the menu button.
RootPageId
Property
Specifies which page to use as the menu root, when RootPageType is "SelectedPage".
RootPageType
Property
Menu root page type
UseName
Property
Specifies whether to use the page name instead of the title for on-screen display.
ViewContext
Property
Provides access to view context.
Methods
ProcessAsync
(TagHelperContext, TagHelperOutput) Method
ProcessAsync (TagHelperContext context, TagHelperOutput output)
Generate the output.