ExpandCollapseState Enum

Definition

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

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")]
public enum ExpandCollapseState
public enum ExpandCollapseState
Inheritance
ExpandCollapseState
Attributes

Fields

Name Value Description
Collapsed 0

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

Expanded 1

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

PartiallyExpanded 2

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

LeafNode 3

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

Remarks

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

Applies to

Producto Versiones
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9