Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
public enum DockPosition
Member nameDescription
Supported by Silverlight for Windows PhoneTopIndicates that the UI automation element is docked along the top edge of the docking container.
Supported by Silverlight for Windows PhoneLeftIndicates that the UI automation element is docked along the left edge of the docking container.
Supported by Silverlight for Windows PhoneBottomIndicates that the UI automation element is docked along the bottom edge of the docking container.
Supported by Silverlight for Windows PhoneRightIndicates that the UI automation element is docked along the right edge of the docking container.
Supported by Silverlight for Windows PhoneFillIndicates that the UI automation element is docked along all edges of the docking container and fills all available space within the container.
Supported by Silverlight for Windows PhoneNoneIndicates 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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.