IDockProvider interface

Provides access to an element in a docking container.


The IDockProvider interface has these methods.

Method Description
IDockProvider::get_DockPosition Indicates the current docking position of this element.
IDockProvider::SetDockPosition Sets the docking position of this element.


IDockProvider does not expose any properties of the docking container or any properties of controls that might be docked adjacent to the current control in the docking container.

Controls are docked relative to each other based on their current z-order; the higher their z-order placement, the farther they are placed from the specified edge of the docking container.


Minimum supported client Windows XP [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 [desktop apps | UWP apps]
Target Platform Windows
Header uiautomationcore.h (include UIAutomation.h)

See also


Dock Control Pattern



UI Automation Providers Overview