MultiSelector.SelectedItems Property

 

Gets the items in the MultiSelector that are selected.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

[<BindableAttribute(true)>]
member SelectedItems : IList with get

Property Value

Type: System.Collections.IList

The items in the MultiSelector that are selected.

If CanSelectMultipleItems is false, you cannot add more than one item to the SelectedItems collection. Attempts to do so will cause an exception.

.NET Framework
Available since 3.0
Return to top
Show: