Dock Dock Dock Dock Enum
public enum class Dock
public enum Dock
type Dock =
Public Enum Dock
|Bottom Bottom Bottom Bottom||3||
A child element that is positioned at the bottom of the DockPanel.
|Left Left Left Left||0||
A child element that is positioned on the left side of the DockPanel.
|Right Right Right Right||2||
A child element that is positioned on the right side of the DockPanel.
|Top Top Top Top||1||
A child element that is positioned at the top of the DockPanel.
If you set the anel.LastChildFill property to
true, which is the default setting, the last child element of a anel always fills the remaining space, regardless of any other dock value that you set on the last child element. To dock a child in another direction, you must set the anel.LastChildFill property to
false and must also set an explicit dock direction on the last child element.