Method SectionsFor
- Namespace
- ReportWright.Design.Properties
- Assembly
- ReportWright.Design.dll
SectionsFor(string)
The sections for an item kind, position first; an unknown kind gets the common sections.
public static IReadOnlyList<PropertySection> SectionsFor(string kind)
Parameters
kindstringThe element kind.
Returns
- IReadOnlyList<PropertySection>
The sections.
SectionsFor(string, ReportSchemaVersion)
The sections a document's version knows, with the others dropped (decisions, item 2).
public static IReadOnlyList<PropertySection> SectionsFor(string kind, ReportSchemaVersion version)
Parameters
kindstringThe element kind.
versionReportSchemaVersionThe document's schema version.
Returns
- IReadOnlyList<PropertySection>
The sections, empty ones omitted.