Share via


SilverlightTreeItem.Expanded Property

Gets or sets the expanded 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 Expanded As Boolean
    Get
    Set
public virtual bool Expanded { get; set; }
public:
virtual property bool Expanded {
    bool get ();
    void set (bool value);
}
abstract Expanded : bool with get, set
override Expanded : bool with get, set
function get Expanded () : boolean
function set Expanded (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

SilverlightTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace