> For the complete documentation index, see [llms.txt](https://avaloniachina.gitbook.io/avalonia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avaloniachina.gitbook.io/avalonia/docs/controls/wrappanel.md).

# WrapPanel

The `WrapPanel` control is a [`Panel`](https://docs.avaloniaui.net/docs/controls/panel) which positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.

### Reference <a href="#reference" id="reference"></a>

[WrapPanel](http://reference.avaloniaui.net/api/Avalonia.Controls/WrapPanel/)

### Source code <a href="#source-code" id="source-code"></a>

[WrapPanel.cs](https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/WrapPanel.cs)
