HtmlForgeX

API Reference

Class

TablerPageHeader

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Tabler page header component for page titles and actions

Inheritance

Constructors

public TablerPageHeader() #

Initializes a new instance of the TablerPageHeader class

Methods

public TablerPageHeader Actions(Action<TablerPageActions> configure) #
Returns: TablerPageHeader

Add action buttons

Parameters

configure System.Action{HtmlForgeX.TablerPageActions} requiredposition: 0
public TablerPageHeader Breadcrumb(Action<TablerBreadcrumb> configure) #
Returns: TablerPageHeader

Add breadcrumb

Parameters

configure System.Action{HtmlForgeX.TablerBreadcrumb} requiredposition: 0
EnsureContainer() #

Ensures the container is initialized

RegisterLibraries() #
public TablerPageHeader ShowOnPrint(Boolean show = true) #
Returns: TablerPageHeader

Show header when printing

Parameters

show System.Boolean = true optionalposition: 0
public TablerPageHeader Surface(TablerSurfaceStyle style) #
Returns: TablerPageHeader

Applies a shared surface treatment to the page header shell.

Parameters

style HtmlForgeX.TablerSurfaceStyle requiredposition: 0
Title 2 overloads
public TablerPageHeader Title(Action<TablerPageTitle> configure) #
Returns: TablerPageHeader

Add page title

Parameters

configure System.Action{HtmlForgeX.TablerPageTitle} requiredposition: 0
public TablerPageHeader Title(String title, String pretitle = null) #
Returns: TablerPageHeader

Add page title with simple text

Parameters

title System.String requiredposition: 0
pretitle System.String = null optionalposition: 1
public override String ToString() #
Returns: String

Renders the page header to HTML string

Returns

HTML representation of the page header