Fig. 1 - Selection control - List, MultiList, Radio
A control that allows selection of a single item, or zero or more items, from a list, according to the SelectionStyle.
Properties that are common to this and many other controls are described in Common Properties.
| Property | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Background | See Common Properties | ||||||||||||||||||
| BorderBrush | See Common Properties | ||||||||||||||||||
| BorderThickness | See Common Properties | ||||||||||||||||||
| DisplayBlankValues | Whether the control displays values from the Items list that are empty | ||||||||||||||||||
| FontFamily | See Common Properties | ||||||||||||||||||
| FontSize | See Common Properties. Spacing between items is scaled automatically | ||||||||||||||||||
| FontStyle | See Common Properties | ||||||||||||||||||
| FontWeight | See Common Properties | ||||||||||||||||||
| Foreground | See Common Properties | ||||||||||||||||||
| Height | See Common Properties. A vertical scrollbar is created and controlled automatically | ||||||||||||||||||
| IsEnabled | See Common Properties | ||||||||||||||||||
| Items | Defines a list of displayed items. To edit the list, click on the Browse (...) button. The Edit selection items dialogue opens (Fig. 2) : To add a list item:
To remove a list item:
To move an item up/ down within the list
The effect of the Selected column depends on the control's SelectionStyle, as follows:
Changes are reflected immediately on the Screen grid. |
||||||||||||||||||
| Language | See Common Properties | ||||||||||||||||||
| Margin | See Common Properties | ||||||||||||||||||
| Name | See Common Properties | ||||||||||||||||||
| SelectionStyle | Select from the drop-down list. Options are:
|
||||||||||||||||||
| TabIndex | See Common Properties | ||||||||||||||||||
| Visibility | See Common Properties | ||||||||||||||||||
| Width | See Common Properties |
For details of usage within the script flow, see Collection Controls.
See also the ComboBox, CheckBox and KeyedSelection controls.