IUIAutomationExpandCollapsePattern 介面 (uiautomationclient.h)

提供可可視化展開以顯示內容的控件存取權,並折疊以隱藏內容。

繼承

IUIAutomationExpandCollapsePattern 介面繼承自 IUnknown 介面。 IUIAutomationExpandCollapsePattern 也有下列類型的成員:

方法

IUIAutomationExpandCollapsePattern 介面具有這些方法。

 
IUIAutomationExpandCollapsePattern::Collapse

隱藏專案的所有子節點、控件或內容。
IUIAutomationExpandCollapsePattern::Expand

顯示專案的所有子節點、控件或內容。
IUIAutomationExpandCollapsePattern::get_CachedExpandCollapseState

擷取快取值,指出專案的狀態已展開或折疊。
IUIAutomationExpandCollapsePattern::get_CurrentExpandCollapseState

擷取值,指出專案的狀態展開或折疊。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista sp2 和 Platform Update for Windows Vista、Windows XP with SP3 和 Platform Update for Windows Vista [僅限桌面應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

用戶端的控制項模式介面