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 a
Maybe Wrap panel will help.
<WrapPanel Orientation="Horizontal">
<Button Margin="3">Button 1</Button>
<Button Margin="3">Button 2</Button>
<Button Margin="3">Button 3</Button>
<Button Margin="3">Button 4</Button>
<Button Margin="3">Button 5</Button>
</WrapPanel>
The WrapPanel has similar behaviour to the old WinForms FlowLayoutPanel.