Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.22 KB

treeviewitemautomationpeer_expandcollapsestate.md

File metadata and controls

26 lines (17 loc) · 1.22 KB
-api-id -api-type
P:Windows.UI.Xaml.Automation.Peers.TreeViewItemAutomationPeer.ExpandCollapseState
winrt property

Windows.UI.Xaml.Automation.Peers.TreeViewItemAutomationPeer.ExpandCollapseState

-description

Gets a value indicating the expanded or collapsed state of the associated TreeViewItem.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Automation.Peers.TreeViewItemAutomationPeer.ExpandCollapseState (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-property-value

The expanded or collapsed state of the associated TreeViewItem. The default value is Expanded.

-remarks

ExpandCollapseState refers to the visibility of immediate child objects only, it does not refer to the visibility of all descendant objects.

-see-also

-examples