IExpandCollapseProvider Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Exposes methods and properties to support access by a UI automation client to controls that visually expand to display content and that collapse to hide content.

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

Syntax

'Declaration
Public Interface IExpandCollapseProvider
public interface IExpandCollapseProvider

The IExpandCollapseProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone ExpandCollapseState Gets the state (expanded or collapsed) of the control.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Collapse Hides all nodes, controls, or content that are descendants of the control.
Public methodSupported by Silverlight for Windows Phone Expand Displays all child nodes, controls, or content of the control.

Top

Remarks

This interface is implemented in a UI automation provider that must support the ExpandCollapse control pattern.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.