by Chaitanya Venneti
2. October 2010 17:34
The Silverlight wrap panel is a great control which automatically wraps the elements in it either horizontally or vertically as required to fit them within the size of the panel. Using a wrap panel is fairly simple and straight forward. <ControlsToolkit:WrapPanel Orientation="Horizontal">
<TextBlock Text="Item 1"/>
<TextBlock Text="Item 2"/>
<TextBlock Text="Item 3"/>
<TextBlock Text="Item 4"/>
<TextBlock Text="Item 5"/>
<TextBlock Text="Item 6"/>
...
[More]