HtmlForgeX

API Reference

Class

LayoutConfiguration

Namespace HtmlForgeX
Assembly HtmlForgeX

Layout configuration settings.

Inheritance

  • Object
  • LayoutConfiguration

Constructors

public LayoutConfiguration() #

Properties

public String ContainerPadding { get; set; } #

Gets or sets the default container padding.

public String ContentPadding { get; set; } #

Gets or sets the default content padding.

public String ElementSpacing { get; set; } #

Gets or sets the default spacing between elements.

public Boolean UseResponsiveDesign { get; set; } #

Gets or sets whether to use responsive design by default.

public String MaxContentWidth { get; set; } #

Gets or sets the default maximum content width.

public Boolean AutoStackColumns { get; set; } #

Enables automatic vertical stacking for Tabler columns using Bootstrap vstack with a configurable gap-*.

public Boolean AutoStackPages { get; set; } #

Enables automatic vertical stacking when a page renders children directly (i.e., not inside TablerRow).

public TablerSpacing DefaultStackGap { get; set; } #

Default gap scale for automatic stacks. Maps to Bootstrap's gap-* utilities. Typical values: 0..5.

public TablerSpacing InnerStackGap { get; set; } #

Secondary gap scale for grouping closely related items within a single block (for example: a section header and its content). Components can use this to separate their internal parts without affecting the outer vertical rhythm between blocks.

public Boolean StackMixedChildren { get; set; } #

When a page mixes TablerRow elements and non-row blocks (cards, alerts, etc.), wrap direct children in a stack automatically to maintain consistent spacing.

public Nullable<TablerSpacing> MixedStackGap { get; set; } #

Optional gap override used when StackMixedChildren is applied. If null, DefaultStackGap is used.

public Boolean EnableTextBlockSpacing { get; set; } #

Enables an automatic bottom margin on text blocks generated via Tabler text elements (e.g., TablerText) to maintain comfortable paragraph spacing without manual mb-*.

public TablerSpacing TextBlockSpacing { get; set; } #

The default margin scale used when EnableTextBlockSpacing is enabled. Maps to Bootstrap's mb-* utilities.

public Boolean DataGridNaturalTitles { get; set; } #

When true, Tabler DataGrid titles render in natural case (as authored) instead of Tabler's default uppercase styling.

public Boolean AutoFitRows { get; set; } #

When true, TablerRow will auto-fit its columns using CSS grid with the defaults below unless the row overrides via Density/TargetColumns/AutoFit.

public TablerCardWidth DefaultAutoFitWidth { get; set; } #

Default minimum card width used by AutoFit rows.

public Nullable<Int32> DefaultAutoFitMaxColumns { get; set; } #

Optional cap on columns when auto-fitting. If null, no cap is applied.

public TablerAutoFitPolicy DefaultAutoFitPolicy { get; set; } #

Default policy controlling how auto-fit behaves on wide screens.