TestimoX

API Reference

Enum

ViewMode

Namespace TestimoX.Definitions
Assembly TestimoX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Preferred rendering style for a report section. Auto keeps current heuristics (grid for simple single object; table for collections). Grid/Table allow callers to hint the HTML renderer, which may still fall back when unsuitable (e.g., multiple items requested as Grid).

Inheritance

  • Enum
  • ViewMode

Values

public const ViewMode Auto #

Automatic selection based on data shape.

Value: 0
public const ViewMode Grid #

Render a single object as a property grid.

Value: 1
public const ViewMode Table #

Render rows/columns for collections.

Value: 2
public const ViewMode List #

Render a simple vertical list.

Value: 3
public const ViewMode Cards #

Render items as cards (tile layout).

Value: 4
public const ViewMode Text #

Render raw text/markdown for a string value or a sequence of strings. If the section path resolves to a complex object, the renderer will fall back to a simple property grid. Intended for short notices, warnings, or narrative content that doesn’t fit a table.

Value: 5