ListBox - SirePi/duality-ui GitHub Wiki
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.