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 Interface

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

Namespace:  System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
[GuidAttribute("159bc72c-4ad3-485e-9637-d7052edf0146")]
public interface IDockProvider

The IDockProvider type exposes the following members.

  NameDescription
Public propertyDockPositionGets the current DockPosition of the control within a docking container.
Top

  NameDescription
Public methodSetDockPositionDocks the control within a docking container.
Top

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 further they are placed from the specified edge of the docking container.

.NET Framework

Supported in: 4.6, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft