Table of Contents

Property AllowedValues

Namespace
DocWright.Reporting
Assembly
DocWright.Reporting.dll

AllowedValues

Gets the values the child accepts when it is an Enumeration; otherwise empty.

public IReadOnlyList<string> AllowedValues { get; }

Property Value

IReadOnlyList<string>

Remarks

For a literal enumeration this is the schema's own list. For a child that may hold an expression (FontWeight, TextAlign, a border's Style) the schema says only xsd:string, and the list is measured: each value the engine's own model enumerates was rendered as a constant under every kind of report item the child occurs under, and is listed only if none refused it. So DashDot is not a border style here: a chart draws it and a text box refuses the report.

A value an expression evaluates to is checked again when the report runs.