Radio List¶
RadioList displays one selectable item from its data source. It uses the shared list-control ValueXPath, CaptionXPath, MappingXPath, data-source, and monitored-XPath behavior.
XML Fields¶
Binding and Choice Source¶
XPathbinds the control to the data model element that stores the selection.ValueXPathandCaptionXPathare paths relative to that element that receive the chosen item's value and displayed text; useCodeandNamefor a selection field.MappingXPathis the relative path under which data source mappings are applied. The Dropdown page describes the empty-path behavior shared by list controls.DataSourcessupplies choices.MonitoredXPathslists data paths that reload those choices, andCacheDataSourcescontrols whether source results are reused.
Presentation and Validation¶
LayoutselectsHorizontalorVerticalarrangement andSizecontrols width.RequiredForGrouprequires a valid choice during matching grouped validation.Hintsprovides help text andRulescontains conditional formatting or validation.
Selection Behavior¶
When the current value does not match an available option after a refresh, RadioList selects the first valid option. The selected item's value is written to the value binding, its displayed text is written to CaptionXPath when set, and configured mappings are applied. Design data displays a single empty option when no source items are available.
Set Layout to Horizontal (default) or Vertical; Size uses the standard Small/Medium/Big/Large layout values. In read-only state, the control shows the caption binding when available, otherwise the selected value.
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |