DockPosition Enumeration

DockPosition Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
TopIndicates that the UI automation element is docked along the top edge of the docking container.
LeftIndicates that the UI automation element is docked along the left edge of the docking container.
BottomIndicates that the UI automation element is docked along the bottom edge of the docking container.
RightIndicates that the UI automation element is docked along the right 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.
NoneIndicates that the UI automation element is not docked to any edge of the docking container

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft