IUIAutomationDockPattern 介面 (uiautomationclient.h)

提供控件的存取權,可讓子元素彼此相對地水準和垂直排列。

繼承

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

方法

IUIAutomationDockPattern 介面具有這些方法。

 
IUIAutomationDockPattern::get_CachedDockPosition

擷取這個專案在其停駐容器內的快取停駐位置。
IUIAutomationDockPattern::get_CurrentDockPosition

擷取這個專案在其停駐容器內的停駐位置。
IUIAutomationDockPattern::SetDockPosition

設定這個專案的停駐位置。

備註

Microsoft 使用者介面自動化 用戶端應用程式會使用此介面來存取 使用者介面自動化 元素的停駐屬性,這些元素可在停駐容器內做為控件。 停駐容器是一個控件,允許水準和垂直排列子元素,相對於停駐容器和容器內的其他元素界限。 控件會根據控件目前的 Z 順序,彼此相對停駐;其迭置順序愈高,則從停駐容器的指定邊緣放置越遠。

規格需求

需求
最低支援的用戶端 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)

另請參閱

用戶端的控制項模式介面