Editar

Partilhar via


IExpandCollapseProvider Interface

Definition

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

public interface class IExpandCollapseProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("d847d3a5-cab0-4a98-8c32-ecb45c59ad24")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IExpandCollapseProvider
public interface IExpandCollapseProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("d847d3a5-cab0-4a98-8c32-ecb45c59ad24")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IExpandCollapseProvider = interface
type IExpandCollapseProvider = interface
Public Interface IExpandCollapseProvider
Derived
Attributes

Remarks

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

Properties

ExpandCollapseState

Gets the state, expanded or collapsed, of the control.

Methods

Collapse()

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

Expand()

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

Applies to

See also