HtmlForgeX

API Reference

Class

TablerContainer

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Tabler container component for content width control

Inheritance

Constructors

public TablerContainer() #

Initializes a new instance of the TablerContainer class

Methods

public TablerContainer AutoStackChildren(Boolean enable = true) #
Returns: TablerContainer

Enable or disable automatic vertical spacing between direct children using Bootstrap vstack with gap-*. Defaults to the document setting when not overridden explicitly.

Parameters

enable System.Boolean = true optionalposition: 0
public TablerContainer Fluid(Boolean fluid = true) #
Returns: TablerContainer

Make container fluid (full width)

Parameters

fluid System.Boolean = true optionalposition: 0
public TablerContainer Size(TablerContainerSize size) #
Returns: TablerContainer

Set container size

Parameters

size HtmlForgeX.TablerContainerSize requiredposition: 0
public TablerContainer StackGap(TablerSpacing spacing) #
Returns: TablerContainer

Sets the gap scale (0..5) used when automatic stacking is enabled.

Parameters

spacing HtmlForgeX.TablerSpacing requiredposition: 0
public override String ToString() #
Returns: String

Renders the container to HTML string

Returns

HTML representation of the container