ListBox.SelectedItems Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the list of currently selected items for the ListBox control.
Assembly: System.Windows (in System.Windows.dll)
For a multiple-selection ListBox, the SelectedItems property returns a list that contains the selected items.
For a single-selection ListBox, the SelectedItems property returns a list that contains the selected item. Alternatively, for a single-selection ListBox, you can also retrieve the selected item by using the SelectedItem property or the index of the selected item by using the SelectedIndex property.
You specify whether the ListBox allows multiple selections by using the SelectionMode property.