HtmlForgeX

API Reference

Class

TablerTwoStageNavigationBuilder

Namespace HtmlForgeX
Assembly HtmlForgeX

Builder for creating two-stage navigation with header navbar and sidebar. Supports Tabler's combo layout pattern with separate top navigation and vertical sidebar.

Inheritance

  • Object
  • TablerTwoStageNavigationBuilder

Constructors

Methods

public TablerTwoStageNavigationStructure Build() #
Returns: TablerTwoStageNavigationStructure

Builds the two-stage navigation structure.

public TablerTwoStageNavigationBuilder Shell(TablerNavigationShellMode shellMode) #
Returns: TablerTwoStageNavigationBuilder

Selects an explicit shell combination for the navigation. This is the clearest way to choose between top-only, left/right sidebar-only, and mixed shells.

Parameters

shellMode HtmlForgeX.TablerNavigationShellMode requiredposition: 0
public TablerTwoStageNavigationBuilder WithBrand(String text, String subtitle = null) #
Returns: TablerTwoStageNavigationBuilder

Sets the brand text for the navigation.

Parameters

text System.String requiredposition: 0
subtitle System.String = null optionalposition: 1
public TablerTwoStageNavigationBuilder WithHeaderNavbar(Action<TablerHeaderNavbarBuilder> config) #
Returns: TablerTwoStageNavigationBuilder

Configures the header navbar (top navigation).

Parameters

config System.Action{HtmlForgeX.TablerHeaderNavbarBuilder} requiredposition: 0
public TablerTwoStageNavigationBuilder WithLayoutMode(TablerLayoutMode mode) #
Returns: TablerTwoStageNavigationBuilder

Sets the layout mode for the navigation.

Parameters

mode HtmlForgeX.TablerLayoutMode requiredposition: 0
public TablerTwoStageNavigationBuilder WithLogo(String path, TablerLogoSize size = Default) #
Returns: TablerTwoStageNavigationBuilder

Sets the logo for the navigation.

Parameters

path System.String requiredposition: 0
size HtmlForgeX.TablerLogoSize = Default optionalposition: 1
public TablerTwoStageNavigationBuilder WithSidebarNavigation(Action<TablerSidebarNavigationBuilder> config) #
Returns: TablerTwoStageNavigationBuilder

Configures the sidebar navigation (vertical menu).

Parameters

config System.Action{HtmlForgeX.TablerSidebarNavigationBuilder} requiredposition: 0