HtmlForgeX

API Reference

Class

TablerTwoStageNavigationStructure

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Structure representing a two-stage navigation system.

Inheritance

  • Element
  • TablerTwoStageNavigationStructure

Constructors

public TablerTwoStageNavigationStructure() #

Methods

public TablerNavigationShellMode GetEffectiveShellMode() #
Returns: TablerNavigationShellMode

Resolves the effective shell mode, deriving it from layout and sidebar side when no explicit shell was set.

public Void MarkPageActive(String pageId) #
Returns: Void

Marks a page as active across header and sidebar navigation items.

Parameters

pageId System.String requiredposition: 0
RegisterLibraries() #

Registers required Tabler libraries.

public override String ToString() #
Returns: String

Renders the navigation structure to an HTML string.

Returns

The rendered HTML markup.

Properties

public TablerHeaderNavbarStructure HeaderNavbar { get; set; } #

Gets or sets the header navbar configuration.

public TablerSidebarNavigationStructure SidebarNavigation { get; set; } #

Gets or sets the sidebar navigation configuration.

public TablerLayoutMode LayoutMode { get; set; } #

Gets or sets the layout mode to use.

public Nullable<TablerNavigationShellMode> ShellMode { get; set; } #

Gets or sets the explicit shell mode when the builder selected one.

public String LogoPath { get; set; } #

Gets or sets the path to the brand logo.

public TablerLogoSize LogoSize { get; set; } #

Gets or sets the size of the logo.

public String BrandText { get; set; } #

Gets or sets the brand text displayed with the logo.

public String BrandSubtitle { get; set; } #

Gets or sets the optional secondary line displayed under the brand text.

public String BrandHref { get; set; } #

Gets or sets the link target used by the brand/logo anchor.