IExpandCollapseProvider 介面

定義

公開方法與屬性,以支援使用者介面自動化用戶端存取控制項,這些控制項在視覺上可展開以顯示內容,也可摺疊以隱藏內容。

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

屬性

ExpandCollapseState

取得控制項的狀態,可能為展開或摺疊。

方法

Collapse()

隱藏屬於控制項子系的所有節點、控制項或內容。

Expand()

顯示控制項的所有子節點、控制項或內容。

適用於

另請參閱