ListBoxItem.IsSelected Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether a ListBoxItem is selected.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<ListBoxItem IsSelected="bool"/>
Property Value
Type: System.Booleantrue if the item is selected; otherwise, false. The default is false.
Dependency property identifier field: IsSelectedProperty
To select a ListBoxItem in a ListBox, set this property to true.
Show: