ExpandCollapseState Enumeration

Contains values that specify the state of a UI element that can be expanded and collapsed.

Syntax

typedef enum ExpandCollapseState {
  ExpandCollapseState_Collapsed,
  ExpandCollapseState_Expanded,
  ExpandCollapseState_PartiallyExpanded,
  ExpandCollapseState_LeafNode
} ;

Constants

ExpandCollapseState_Collapsed No children are visible.
ExpandCollapseState_Expanded All children are visible.
ExpandCollapseState_PartiallyExpanded Some, but not all, children are visible.
ExpandCollapseState_LeafNode The element does not expand or collapse.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header uiautomationcore.h (include UIAutomation.h)

See Also

IExpandCollapseProvider