Export (0) Print
Expand All
Expand Minimize

DockPosition Enumeration

Contains values that specify the dock position of an object, represented by a DockPattern, within a docking container.

Namespace: System.Windows.Automation
Assembly: UIAutomationTypes (in uiautomationtypes.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

[ComVisibleAttribute(true)] 
[GuidAttribute("70d46e77-e3a8-449d-913c-e30eb2afecdb")] 
public enum DockPosition
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute GuidAttribute("70d46e77-e3a8-449d-913c-e30eb2afecdb") */ 
public enum DockPosition
ComVisibleAttribute(true) 
GuidAttribute("70d46e77-e3a8-449d-913c-e30eb2afecdb") 
public enum DockPosition

 Member nameDescription
BottomIndicates that the UI Automation element is docked along the bottom edge of the docking container.  
FillIndicates that the UI Automation element is docked along all edges of the docking container and fills all available space within the container.  
LeftIndicates that the UI Automation element is docked along the left edge of the docking container.  
NoneIndicates that the UI Automation element is not docked to any edge of the docking container.  
RightIndicates that the UI Automation element is docked along the right edge of the docking container.  
TopIndicates that the UI Automation element is docked along the top 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft