-
Notifications
You must be signed in to change notification settings - Fork 0
ListBox
SirePi edited this page Dec 1, 2016
·
1 revision
A ListBox is a complex Control which includes a ScrollBar and a number of ToggleButtons, and is used to select one or more items from a list. Derives from CompositeControl.
In addition to the CompositeControl's base properties and delegates, it also exposes:
- MultiSelection - if set to true, allows for more than one item to be selected at the same time.
- ListBoxConfiguration - the ListBox's ListBoxConfiguration object.
- TextConfiguration - the ListBox's TextConfiguration object.
- ScrollBarConfiguration - the ListBox's ScrollBarConfiguration object.
- SelectedItems - the list of objects currently selected in the ListBox.
In order to set the items that can be selected in the ListBox, the method SetItems(IEnumerable items) is available.
Controls
- Button
- ToggleButton
- CheckButton
- RadioButton
- TextBox
- TextBlock
- Separator
- HorizontalScrollBar
- VerticalScrollBar
- ProgressBar
- ListBox
ControlContainers