HtmlForgeX

API Reference

Class

TablerNavigationStructure

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Represents a complete navigation structure.

Inheritance

Constructors

Methods

public Void MarkPageActive(String pageId) #
Returns: Void

Marks a page as active in the navigation.

Parameters

pageId System.String requiredposition: 0
RegisterLibraries() #

Registers the required libraries.

public override String ToString() #
Returns: String

Converts the navigation to its HTML representation.

public Void WithBrandHref(String href) #
Returns: Void

Sets the link target used by the brand/logo anchor.

Parameters

href System.String requiredposition: 0
WithBranding 3 overloads
public Void WithBranding(String logoPath, TablerLogoSize logoSize, String brandText) #
Returns: Void

Adds branding to the navigation.

Parameters

logoPath System.String requiredposition: 0
logoSize HtmlForgeX.TablerLogoSize requiredposition: 1
brandText System.String requiredposition: 2
public Void WithBranding(String logoPath, TablerLogoSize logoSize, String brandText, String brandHref) #
Returns: Void

Adds branding to the navigation and sets the brand link target.

Parameters

logoPath System.String requiredposition: 0
logoSize HtmlForgeX.TablerLogoSize requiredposition: 1
brandText System.String requiredposition: 2
brandHref System.String requiredposition: 3
public Void WithBranding(String logoPath, TablerLogoSize logoSize, String brandText, String brandHref, String brandSubtitle) #
Returns: Void

Adds branding to the navigation, sets the brand link target, and optionally includes a secondary brand line.

Parameters

logoPath System.String requiredposition: 0
logoSize HtmlForgeX.TablerLogoSize requiredposition: 1
brandText System.String requiredposition: 2
brandHref System.String requiredposition: 3
brandSubtitle System.String requiredposition: 4

Properties

public List<TablerNavigationItemConfig> Items { get; set; } #

Items displayed on the left side of the navigation bar.

public List<TablerNavigationItemConfig> RightItems { get; set; } #

Items displayed on the right side of the navigation bar.

public TablerNavigationStyle Style { get; set; } #

Style of the navigation structure.

public TablerNavigationPosition Position { get; set; } #

Position of the navigation on the page.

public Boolean Sticky { get; set; } #

Determines if the navigation sticks to the viewport when scrolling.

public Boolean Transparent { get; set; } #

Enables Tabler "navbar-transparent" styling. Useful for marketing/hero headers and vertical transparent layouts.

public Boolean Dark { get; set; } #

Enables dark mode styling.

public TablerNavigationExpand Expand { get; set; } #

Breakpoint at which the navigation expands.

public TablerHeaderChrome Chrome { get; set; } #

Visual chrome used by horizontal top navigation shells.

public TablerNavbarBrandPlacement BrandPlacement { get; set; } #

Where the brand/logo block sits within a horizontal top navigation shell.

public TablerNavbarUtilityPlacement UtilityPlacement { get; set; } #

Where utility controls sit within a horizontal top navigation shell.

public TablerNavbarWrapMode WrapMode { get; set; } #

Whether the horizontal top navigation shell intentionally wraps into multiple rows.

public TablerHorizontalFrostMode HorizontalFrostMode { get; set; } #

How horizontal shells balance stronger panel glow versus a quieter unified frost treatment.

public TablerSidebarWidthPreset SidebarWidthPreset { get; set; } #

Width preset used by vertical sidebar navigation shells.

public String SidebarWidthCss { get; set; } #

Optional custom CSS width used by vertical sidebar navigation shells.