IExpandCollapseProvider Interface
Exposes methods and properties to support UI Automation client access to controls that visually expand to display content and collapse to hide content.
Assembly: UIAutomationProvider (in UIAutomationProvider.dll)
| Name | Description | |
|---|---|---|
![]() | ExpandCollapseState | Gets the state, expanded or collapsed, of the control. |
| Name | Description | |
|---|---|---|
![]() | Collapse() | Hides all nodes, controls, or content that are descendants of the control. |
![]() | Expand() | Displays all child nodes, controls, or content of the control. |
Implemented on a UI Automation provider that must support the ExpandCollapsePattern control pattern.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
ExpandCollapsePattern
System.Windows.Automation.Provider Namespace
UI Automation Control Patterns Overview
Server-Side UI Automation Provider Implementation
Client-Side UI Automation Provider Implementation
Support Control Patterns in a UI Automation Provider
Implementing the UI Automation ExpandCollapse Control Pattern

