API Reference
Enum
ViewMode
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
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ReportSectionDescriptor.Mode
- Field ViewMode.Auto
- Field ViewMode.Cards
- Field ViewMode.Grid
- Field ViewMode.List
- Field ViewMode.Table
- Field ViewMode.Text
Accepted by parameters
- Method ReportViewBuilder.Section
- Method ReportViewBuilder.SectionIfNotEmpty
- Method ReportViewBuilder.SectionResults
- Method ReportViewBuilder.SectionWhere
- Method ReportViewBuilder.SectionWhereBetweenParameter
- Method ReportViewBuilder.SectionWhereGreaterThan
- Method ReportViewBuilder.SectionWhereGreaterThanOrEqual
- Method ReportViewBuilder.SectionWhereGreaterThanOrEqualParameter
- Method ReportViewBuilder.SectionWhereGreaterThanParameter
- Method ReportViewBuilder.SectionWhereIn
- Method ReportViewBuilder.SectionWhereLessThan
- Method ReportViewBuilder.SectionWhereLessThanOrEqual
- Method ReportViewBuilder.SectionWhereLessThanOrEqualParameter
- Method ReportViewBuilder.SectionWhereLessThanParameter
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
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