Partager via


WinTreeItem.Expanded Property

Gets or sets a value that indicates whether this tree item is expanded.

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

Syntax

'Declaration
Public Overridable Property Expanded As Boolean
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: Boolean
true if this tree item is expanded; otherwise, false.

.NET Framework Security

See Also

Reference

WinTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace