MultiSelector.SelectedItems Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: