Share via


WpfTreeItem.Expanded Property

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

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
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

WpfTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace