DockPosition 枚举

定义

包含指定由 DockPattern 表示的对象在停靠容器内的停靠位置的值。Contains values that specify the dock position of an object, represented by a DockPattern, within a docking container.

public enum class DockPosition
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("70d46e77-e3a8-449d-913c-e30eb2afecdb")]
public enum DockPosition
type DockPosition = 
Public Enum DockPosition
继承
DockPosition
属性

字段

Bottom 2

指示将 UI 自动化元素沿停靠容器的底部边缘停靠。Indicates that the UI Automation element is docked along the bottom edge of the docking container.

Fill 4

指示将 UI 自动化元素沿停靠容器的所有边缘停靠,并填充容器内的全部可用空间。Indicates that the UI Automation element is docked along all edges of the docking container and fills all available space within the container.

Left 1

指示将 UI 自动化元素沿停靠容器的左边缘停靠。Indicates that the UI Automation element is docked along the left edge of the docking container.

None 5

指示 UI 自动化元素不沿停靠容器的任何边缘停靠。Indicates that the UI Automation element is not docked to any edge of the docking container.

Right 3

指示将 UI 自动化元素沿停靠容器的右边缘停靠。Indicates that the UI Automation element is docked along the right edge of the docking container.

Top 0

指示将 UI 自动化元素沿停靠容器的顶部边缘停靠。Indicates 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.

控件根据其当前的 z 顺序彼此相对停靠;其 z 顺序的位置越高, 它们就是从停靠容器的指定边缘中进行的。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.

适用于