IDockProvider interface
Provides access to an element in a docking container.
When to implement
Implement this interface to expose the docking properties and functionality of a control that enables child elements to be arranged, both horizontally and vertically, relative to the boundaries of the docking container and other elements in the container.
Members
The IDockProvider interface inherits from the IUnknown interface. IDockProvider also has these types of members:
Methods
The IDockProvider interface has these methods.
| Method | Description |
|---|---|
| SetDockPosition |
Sets the docking position of this element. |
Properties
The IDockProvider interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Indicates the current docking position of this element. |
Remarks
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.
Requirements
|
Minimum supported client |
Windows XP [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IDockProvider is defined as 159bc72c-4ad3-485e-9637-d7052edf0146 |
See also
- Reference
- DockPosition
- Conceptual
- Dock Control Pattern
- UI Automation Providers Overview