WpfList.SelectedItems Property

Gets or sets an array of the selected items in this list control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable Property SelectedItems As String()
public virtual string[] SelectedItems { get; set; }
public:
virtual property array<String^>^ SelectedItems {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
abstract SelectedItems : string[] with get, set 
override SelectedItems : string[] with get, set
function get SelectedItems () : String[]
function set SelectedItems (value : String[])

Property Value

Type: array<String[]
An array of the selected items in this list control.

.NET Framework Security

See Also

Reference

WpfList Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace