Share via


SilverlightTreeItem.Selected Property

Gets or sets the selected state of the tree item.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)

Syntax

'Declaration
Public Overridable Property Selected As Boolean
    Get
    Set
public virtual bool Selected { get; set; }
public:
virtual property bool Selected {
    bool get ();
    void set (bool value);
}
abstract Selected : bool with get, set
override Selected : bool with get, set
function get Selected () : boolean
function set Selected (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that represents the selected state of the tree item. true if the tree item is selected. Otherwise, false.

.NET Framework Security

See Also

Reference

SilverlightTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace