IExpandCollapseProvider interface

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.

Method Description
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

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

See also

Conceptual

ExpandCollapseState

Reference

UI Automation Providers Overview