expanded
Whether the tree item’s children are shown or hidden.
Property of
TreeItem
Description
A tree item’s subtree may be expanded or collapsed visually by the user, or by assigning a value to the expanded property. If expanded is true, the subtree is displayed. If expanded is false, the subtree is hidden.