Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.16 KB

listbox_selecteditems.md

File metadata and controls

26 lines (17 loc) · 1.16 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.ListBox.SelectedItems
winrt property

Windows.UI.Xaml.Controls.ListBox.SelectedItems

-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