IDockProvider Interface

Exposes methods to support UI Automation client access to controls that expose their dock properties within a docking container.

IDockProvider Members

DockPosition Retrieves the current dock position of the Microsoft UI Automation element within a docking container.
SetDockPosition Docks the control within a docking container.

Remarks

Implemented on a UI Automation provider that must support the DockPattern control pattern.

A docking container is a control that allows the arrangement of child elements, both horizontally and vertically, relative to the boundaries of the docking container and other elements within the container.

IDockProvider does not expose any properties of the docking container or any properties of controls that may be docked adjacent to the current control within 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.

Interface Information

Inherits from IUnknown
Header and IDL files uiautomation.h, uiautomationcore.idl
Minimum operating systems Windows XP

See Also

UI Automation Providers Overview, DockPosition Enumerated Type