What is the WPF equivilant for the FlowLayoutPanel?

Posted by Sargola on Stack Overflow See other posts from Stack Overflow or by Sargola
Published on 2010-04-08T11:32:40Z Indexed on 2010/04/08 11:43 UTC
Read the original article Hit count: 1154

I am working on a WPF application (a one note clone which is called "note your life") where you can dynamically assign Tags to an entry (just as in virtually any web 2.0 app these days). for this I had in my windows forms prototype a FlowLayoutPanel that did the job very well. I want to have the tags float to the next line if there isn't enough space and get a scrollbar if needed.

how can this be achieved with WPF? I played around with

<StackPanel Orientation="Horizontal" FlowDirection="LeftToRight" ...>

but this doesn't move the elements in the next line if needed.

Any suggestions?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about layout