Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

Uiautomationcore.dll

See also

IDockProvider
UI Automation Providers Overview

 

 

Community Additions

Show:
© 2014 Microsoft