Export (0) Print
Expand All

MultiSelector.SelectedItems Property

Gets the items in the MultiSelector that are selected.

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

[BindableAttribute(true)]
public IList SelectedItems { 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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft