Method AllowedValuesUnder
AllowedValuesUnder(string)
Gets the values the child accepts when the nearest report item it stands in is of the given kind: the AllowedValues, and the values measured to be accepted under that kind of item only.
public IReadOnlyList<string> AllowedValuesUnder(string reportItem)
Parameters
reportItemstringThe report item element's local name —
Textbox,Chart,Map,GaugePanel, and so on — or a page section's (PageHeader,PageFooter,Body).
Returns
- IReadOnlyList<string>
The values in the order AllowedValues lists them, then the item's own.
Remarks
Measured, and in the whole schema it matters once: a border's DashDot and DashDotDot are
drawn under a chart, gauge panel or map and refuse the report under every other item. A kind of item no
measurement reached gets AllowedValues alone, which is the safe answer.
Exceptions
- ArgumentNullException
reportItemis null.