-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.ListBox.SelectedItems |
winrt property |
Gets the list of currently selected items for the ListBox control.
The list of currently selected items for the ListBox control.
When SelectionMode is Multiple or Extended, use the SelectedItems property to get the items that are selected. When SelectionMode is Single, use the Selector.SelectedItem property to get the item that's selected.
SelectionMode, Selector.SelectedItem, Selector.SelectedIndex, Selector.SelectionChanged