Dock Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class Dock
public enum Dock
type Dock =
Public Enum Dock
- Inheritance
Fields
Bottom | 3 | A child element that is positioned at the bottom of the DockPanel. |
Left | 0 | A child element that is positioned on the left side of the DockPanel. |
Right | 2 | A child element that is positioned on the right side of the DockPanel. |
Top | 1 | A child element that is positioned at the top of the DockPanel. |
Remarks
If you set the DockPanel.LastChildFill property to true
, which is the default setting, the last child element of a DockPanel 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 DockPanel.LastChildFill property to false
and must also set an explicit dock direction on the last child element.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om