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 enum 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: