Bewerken

Delen via


DockPosition Enum

Definition

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
public enum DockPosition
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("70d46e77-e3a8-449d-913c-e30eb2afecdb")>]
type DockPosition = 
type DockPosition = 
Public Enum DockPosition
Inheritance
DockPosition
Attributes

Fields

Name Value Description
Top 0

Indicates that the UI Automation element is docked along the top edge of the docking container.

Left 1

Indicates that the UI Automation element is docked along the left edge of the docking container.

Bottom 2

Indicates that the UI Automation element is docked along the bottom edge of the docking container.

Right 3

Indicates that the UI Automation element is docked along the right edge of the docking container.

Fill 4

Indicates that the UI Automation element is docked along all edges of the docking container and fills all available space within the container.

None 5

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, both horizontally and vertically, relative to the boundaries of the docking container and other elements within the container.

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.

Applies to