ExpandCollapseState ExpandCollapseState ExpandCollapseState ExpandCollapseState Enum

Definition

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

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

Fields

Collapsed Collapsed Collapsed Collapsed 0

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

Expanded Expanded Expanded Expanded 1

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

LeafNode LeafNode LeafNode LeafNode 3

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

PartiallyExpanded PartiallyExpanded PartiallyExpanded PartiallyExpanded 2

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

Remarks

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

Applies to