ListBox::SelectAll Method ()
.NET Framework (current version)
Selects all the items in a ListBox.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | The SelectionMode property is set to Single. |
.NET Framework
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Available since 3.0
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Show: