Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DockPanel element is used to position child content along the edge of a layout container.
| Title | Description |
|---|---|
| Create a DockPanel | Learn how to create and configure a DockPanel layout container. |
| Get or Set a Dock Value | Learn how to get and set the Dock attached property on child elements. |
| Partition Space by Using the DockPanel Element | Learn how to use DockPanel to partition space in your application. |
| Choose Between StackPanel and DockPanel | Learn when to use StackPanel versus DockPanel for your layout needs. |
Styles and templates
DockPanel is a layout panel and doesn't have a visual representation. It doesn't define any template parts or visual states.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET Desktop feedback