HtmlForgeX

API Reference

Class

EmptyStateSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub-builder for TablerEmptyState.

Inheritance

  • Object
  • EmptyStateSettings

Methods

public EmptyStateSettings Action(Element action) #
Returns: EmptyStateSettings

Adds a custom action element (rendered inside .empty-action).

Parameters

action HtmlForgeX.Element requiredposition: 0
public EmptyStateSettings ActionButton(String text, String href, Action<TablerButton> configure = null) #
Returns: EmptyStateSettings

Convenience: adds a primary action button.

Parameters

text System.String requiredposition: 0
href System.String requiredposition: 1
configure System.Action{HtmlForgeX.TablerButton} = null optionalposition: 2
public TablerEmptyState End() #
Returns: TablerEmptyState

Returns control to the root empty-state builder.

public EmptyStateSettings Header(String text) #
Returns: EmptyStateSettings

Sets a big header (e.g., "404").

Parameters

text System.String requiredposition: 0
public EmptyStateSettings Illustration(Element illustration) #
Returns: EmptyStateSettings

Sets the illustration content (rendered inside .empty-img).

Parameters

illustration HtmlForgeX.Element requiredposition: 0
public EmptyStateSettings IllustrationImage(String url, Int32 height = 256, String alt = null) #
Returns: EmptyStateSettings

Convenience: sets an image illustration (img tag) with a fixed height.

Parameters

url System.String requiredposition: 0
height System.Int32 = 256 optionalposition: 1
alt System.String = null optionalposition: 2
public EmptyStateSettings Subtitle(String text) #
Returns: EmptyStateSettings

Sets the subtitle / description.

Parameters

text System.String requiredposition: 0
public EmptyStateSettings Surface(TablerSurfaceStyle style) #
Returns: EmptyStateSettings

Applies a shared surface treatment to the empty-state shell.

Parameters

style HtmlForgeX.TablerSurfaceStyle requiredposition: 0
public EmptyStateSettings Title(String text) #
Returns: EmptyStateSettings

Sets the main title.

Parameters

text System.String requiredposition: 0