Share via


WinListItem.Selected Property

Gets a value that indicates whether this list item is selected.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Selected As Boolean
public virtual bool Selected { get; }
public:
virtual property bool Selected {
    bool get ();
}
abstract Selected : bool with get 
override Selected : bool with get
function get Selected () : boolean

Property Value

Type: Boolean
true if this list item is selected; otherwise, false.

.NET Framework Security

See Also

Reference

WinListItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace