Windows.UI.Xaml.Controls.ListBox.SelectedItems

June 22, 2022 ยท View on GitHub

-description

Gets the list of currently selected items for the ListBox control.

-property-value

The list of currently selected items for the ListBox control.

-remarks

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.

-examples

-see-also

SelectionMode, Selector.SelectedItem, Selector.SelectedIndex, Selector.SelectionChanged