語言

DockPosition 列舉

定義

包含值,指定停駐容器內 DockPattern所代表之物件的停駐位置。

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

欄位

名稱 值 Description
Top 0

表示 使用者介面自動化 元素停靠在停靠容器的頂端。

Left 1

表示 使用者介面自動化 元素停靠在停靠容器的左邊邊緣。

Bottom 2

表示 使用者介面自動化 元素停靠在停靠容器的底部邊緣。

Right 3

表示 使用者介面自動化 元素停靠在停靠容器的右邊緣。

Fill 4

表示 使用者介面自動化 元素沿停靠容器的所有邊緣停靠,並填滿容器內所有可用空間。

None 5

表示 使用者介面自動化 元素並未停靠到停靠容器的任何邊緣。

備註

停靠容器是一種控制項,允許子元素相對於對接容器及容器內其他元素的邊界,水平或垂直排列。

控制器會根據目前的 z 順序相互對接;它們的 Z 階位置越高,就越遠離對接容器指定的邊緣。

適用於