DockPosition Enumeration
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Enumeration DockPosition
public enum DockPosition
Members
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 |
Remarks
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.
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.