IDockProvider::DockPosition property
Indicates the current docking position of this element.
This property is read-only.
Syntax
HRESULT get_DockPosition( [out, retval] DockPosition *pRetVal );
Property value
Type: DockPosition*
The current docking position of this element.
Remarks
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 in the container.
Examples
The following example shows how to return the DockPosition property.
// dockPosition is a global variable of type DockPosition.
HRESULT STDMETHODCALLTYPE BucketControl::get_DockPosition(DockPosition *pRetVal)
{
if (pRetVal == NULL)
{
return E_INVALIDARG;
}
*pRetVal = dockPosition;
return S_OK;
}
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 |
|
See also