This documentation is archived and is not being maintained.
DockPosition Enumeration
Visual Studio 2010
Contains values that specify the dock position of an object, represented by a DockPattern, within a docking container.
Assembly: UIAutomationTypes (in UIAutomationTypes.dll)
| Member name | Description | |
|---|---|---|
| Top | Indicates that the UI Automation element is docked along the top edge of the docking container. | |
| Left | Indicates that the UI Automation element is docked along the left edge of the docking container. | |
| Bottom | Indicates that the UI Automation element is docked along the bottom edge of the docking container. | |
| Right | Indicates that the UI Automation element is docked along the right edge of the docking container. | |
| Fill | Indicates that the UI Automation element is docked along all edges of the docking container and fills all available space within the container. | |
| None | Indicates that the UI Automation element is not docked to any edge of the docking container. |
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.
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: