DockPosition Enumeration
Contains values that specify the dock position of an object within a docking container.
Namespace: System.Windows.Automation
Assembly: System.Windows (in System.Windows.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 (horizontally and vertically) relative to the boundaries of the docking container and of other elements within the container.
No existing control in Silverlight implements the IDockProvider pattern for its peer. In WPF, the IDockProvider pattern is potentially used for controls such as toolbars or menus.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
