Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IExpandCollapseProvider Interface

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.

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

public interface IExpandCollapseProvider

The IExpandCollapseProvider type exposes the following members.

Public propertyExpandCollapseStateGets the state, expanded or collapsed, of the control.

Public methodCollapseHides all nodes, controls, or content that are descendants of the control.
Public methodExpandDisplays all child nodes, controls, or content of the control.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft