Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.8 KB
Raw Blame

IExpandCollapseProvider

Original Documentation

IExpandCollapseProvider interface (uiautomationcore.h)

Provides access to a control that visually expands to display content, and collapses to hide content.

Inheritance

The IExpandCollapseProvider interface inherits from the IUnknown interface. IExpandCollapseProvider also has these types of members:

Methods

The IExpandCollapseProvider interface has these methods.

IExpandCollapseProvider::Collapse Hides all child nodes, controls, or content of this element.
IExpandCollapseProvider::Expand Displays all child nodes, controls, or content of the control.
IExpandCollapseProvider::get_ExpandCollapseState Indicates the state, expanded or collapsed, of the control.

Remarks

Implemented on a Microsoft UI Automation provider that must support the ExpandCollapse control pattern.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps
Minimum supported server Windows Server 2003 [desktop apps
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also

Conceptual

ExpandCollapseState

Reference

UI Automation Providers Overview