语言

IExpandCollapseProvider 接口

定义

公开方法和属性,以支持UI 自动化客户端对视觉展开以显示内容和折叠以隐藏内容的控件的访问。

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
派生
特性

注解

在必须支持 ExpandCollapsePattern 控件模式的UI 自动化提供程序上实现。

属性

名称 说明
ExpandCollapseState

获取控件的状态(展开或折叠)。

方法

名称 说明
Collapse()

隐藏控件的子代的所有节点、控件或内容。

Expand()

显示控件的所有子节点、控件或内容。

适用于

另请参阅