Skip to content

BolTopMenu default view

Default view of BolTopMenuViewComponent. It renders the horizontal menu with the items that match the application's menu category.

Purpose

  • Filter the menu items by AppMenuCategory from BasicAppMap and render them through _BolMenuItemPartial.

Context

  • Namespace: BolMiddleware.Pages.Components
  • Assembly/package: BolMiddleware

Public members

Member Signature Purpose
View Pages/Components/BolTopMenu/default.cshtml with model BolMenuViewModel Renders the top navigation items for the configured menu category.

Behavioral notes

  • An empty or wrong category yields an empty bar.

Constraints and usage notes

  • Depends on the BasicAppMap configuration section (Configuration).

Sources

  • src/BolMiddleware/Pages/Components/BolTopMenu/default.cshtml