HtmlForgeX

API Reference

Enum

TablerAutoFitEngine

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Rendering engine used for AutoFit rows. Grid is the default (equal-width tracks). Flex can be used when you need the wrapped line to always fill (e.g., 3 + 2 → 50/50).

Inheritance

  • Enum
  • TablerAutoFitEngine

Values

public const TablerAutoFitEngine Grid #

Use CSS Grid (repeat(auto-fit, minmax(min, 1fr))) for equal-width tracks and predictable packing. The last wrapped line typically stretches to fill.

Value: 0
public const TablerAutoFitEngine Flex #

Use Flexbox so the wrapped line always fills the remaining width (e.g., with 5 items the second line becomes 50/50). Keeps WideOneLine behavior at ≥1400px when requested.

Value: 1