HtmlForgeX

API Reference

Enum

TablerAutoFitPolicy

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

Behavior for AutoFit grid rows.

Inheritance

  • Enum
  • TablerAutoFitPolicy

Values

public const TablerAutoFitPolicy Soft #

Use CSS grid auto-fit with a minimum card width; grows fluidly.

Value: 0
public const TablerAutoFitPolicy WideOneLine #

Auto-fit normally, but on very wide screens (xxl) force a single line using the number of items (capped by maxCols).

Value: 1
public const TablerAutoFitPolicy Retain #

Retain fixed card width on wrap using auto-fill. Leftover space on the right remains empty; the last row does not stretch.

Value: 2
public const TablerAutoFitPolicy HardLimit #

Hard limit the number of columns on all breakpoints. Implemented via responsive row-cols classes rather than CSS grid.

Value: 3