Show / Hide Table of Contents

Interface IExpandCollapseProvider

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: OpenSilver.dll
Syntax
public interface IExpandCollapseProvider

Properties

| Improve this Doc View Source

ExpandCollapseState

Gets the state (expanded or collapsed) of the control.

Declaration
ExpandCollapseState ExpandCollapseState { get; }
Property Value
Type Description
ExpandCollapseState

The state (expanded or collapsed) of the control.

Methods

| Improve this Doc View Source

Collapse()

Hides all nodes, controls, or content that are descendants of the control.

Declaration
void Collapse()
| Improve this Doc View Source

Expand()

Displays all child nodes, controls, or content of the control.

Declaration
void Expand()
  • Improve this Doc
  • View Source