HtmlForgeX

API Reference

Class

TablerLayoutContainer

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element
Attributes
EditorBrowsable(2)

Represents a complete layout structure with navigation, content areas, and optional sidebars.

Inheritance

Constructors

public TablerLayoutContainer() #

Initializes a new instance of the TablerLayoutContainer class.

Methods

public TablerLayoutContainer AddPage(String id, String title, Action<TablerLayoutPage> config) #
Returns: TablerLayoutContainer

Adds a page to the layout.

Parameters

id System.String requiredposition: 0
title System.String requiredposition: 1
config System.Action{HtmlForgeX.TablerLayoutPage} requiredposition: 2
RegisterLibraries() #

Registers the required libraries for TablerLayoutContainer.

public override String ToString() #
Returns: String

Converts the layout to its HTML representation.

public TablerLayoutContainer WithFooter(String content) #
Returns: TablerLayoutContainer

Sets footer content.

Parameters

content System.String requiredposition: 0
public TablerLayoutContainer WithLayout(TablerLayout layoutType) #
Returns: TablerLayoutContainer

Sets the layout type.

Parameters

layoutType HtmlForgeX.TablerLayout requiredposition: 0
public TablerLayoutContainer WithNavbar(Action<TablerNavbar> config) #
Returns: TablerLayoutContainer

Configures the navigation bar.

Parameters

config System.Action{HtmlForgeX.TablerNavbar} requiredposition: 0
public TablerLayoutContainer WithSidebar(Action<TablerNavbar> config) #
Returns: TablerLayoutContainer

Configures a secondary sidebar navigation (for combo layout).

Parameters

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