Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.09 KB

dockpanel.md

File metadata and controls

27 lines (18 loc) · 1.09 KB
# DockPanel The `DockPanel` control is a `Panel` which lays out its children by "docking" them to the sides or floating in the center. ```markup ``` The `LastChildFill` property means that the last child will fill any remaining space in the panel. The `DockPanel.Dock` attached property is used to control which side an element is docked to. The options are `Left`, `Top` , `Right` and `Bottom`. ![](<../../.gitbook/assets/image (18) (1) (1) (1) (1) (1) (1) (1).png>) ### Reference [DockPanel](http://reference.avaloniaui.net/api/Avalonia.Controls/DockPanel/) ### Source code [DockPanel.cs](https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/DockPanel.cs)