Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

[ComVisibleAttribute(true)]
[GuidAttribute("d847d3a5-cab0-4a98-8c32-ecb45c59ad24")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IExpandCollapseProvider

The IExpandCollapseProvider type exposes the following members.

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

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

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
Show:
© 2015 Microsoft