IExpandCollapseProvider 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供方法與屬性,支援 使用者介面自動化 客戶端存取控制項,可視覺化展開顯示內容,並收合以隱藏內容。
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 控制模式的 使用者介面自動化 供應商上。
屬性
| 名稱 | Description |
|---|---|
| ExpandCollapseState |
掌控的狀態,無論是擴張還是崩潰。 |
方法
| 名稱 | Description |
|---|---|
| Collapse() |
隱藏所有控制項後繼的節點、控制項或內容。 |
| Expand() |
顯示所有子節點、控制項或控制項的內容。 |