Expanded Property
Collapse the table of content
Expand the table of content

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)

public virtual bool Expanded { get; set; }

Property Value

Type: Boolean
true if this tree item is expanded; otherwise, false.

Show:
© 2016 Microsoft