HtmlForgeX

API Reference

Class

ElementContainer

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Basic container element rendering its children.

Inheritance

Constructors

public ElementContainer() #

Methods

ApplyContentDefaults(System.Nullable{HtmlForgeX.TablerSpacing} arg1) #

Applies block-content defaults when the container is hosted inside a component body that should provide sensible spacing out of the box. Explicit user configuration still wins.

Parameters

arg1 System.Nullable{HtmlForgeX.TablerSpacing} required
public ElementContainer AutoStackChildren(Boolean enable = true) #
Returns: ElementContainer

Enables or disables automatic vertical stacking for direct children.

Parameters

enable System.Boolean = true optionalposition: 0
RenderChildrenMarkup(System.Nullable{System.Boolean} arg1, System.Nullable{HtmlForgeX.TablerSpacing} arg2) #

Renders direct children using the container's stacking behavior or a caller-supplied default.

Parameters

arg1 System.Nullable{System.Boolean} required
arg2 System.Nullable{HtmlForgeX.TablerSpacing} required
RenderChildrenMarkupWithDefaults(System.Boolean arg1, System.Nullable{HtmlForgeX.TablerSpacing} arg2) #

Renders direct children using caller-supplied defaults while still respecting explicit Boolean) and TablerSpacing) overrides applied to this container.

Parameters

arg1 System.Boolean required
arg2 System.Nullable{HtmlForgeX.TablerSpacing} required
public ElementContainer StackGap(TablerSpacing spacing) #
Returns: ElementContainer

Sets the spacing scale used when automatic child stacking is enabled.

Parameters

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

Renders all non-null child elements into a single HTML string.

Returns

Concatenated HTML of all children.

Extension Methods

public static SmartTab SmartTab(ElementContainer container, Action<SmartTab> configure = null) #
Returns: SmartTab

Adds a SmartTab component to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the SmartTab to.
configure System.Action{HtmlForgeX.SmartTab} = null optionalposition: 1
Configuration action for the SmartTab.

Returns

The SmartTab instance for further configuration.

public static SmartWizard SmartWizard(ElementContainer container, Action<SmartWizard> configure = null) #
Returns: SmartWizard

Adds a SmartWizard component to the element.

Parameters

element HtmlForgeX.Element requiredposition: 0
The element to add the SmartWizard to.
configure System.Action{HtmlForgeX.SmartWizard} = null optionalposition: 1
Configuration action for the SmartWizard.

Returns

The SmartWizard instance for further configuration.