Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ExpandCollapseState Enumeration

 

Contains values that specify the ExpandCollapseState of a UI Automation element.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

<ComVisibleAttribute(True)>
<GuidAttribute("76d12d7e-b227-4417-9ce2-42642ffa896a")>
Public Enumeration ExpandCollapseState

Member nameDescription
Collapsed

No child nodes, controls, or content of the UI Automation element are displayed.

Expanded

All child nodes, controls or content of the UI Automation element are displayed.

LeafNode

The UI Automation element has no child nodes, controls, or content to display.

PartiallyExpanded

Some, but not all, child nodes, controls, or content of the UI Automation element are displayed.

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

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft