WrapPanel in Silverlight, binding CLR Objects -


Can someone help me? I have to pair the CLR object with the rapapelle in Silverlight. What should be displayed at the end is some image thumbnails with their details (text) I know how to do this with the listbox, but I need a wrap panel, so my thumb will be displayed horizontally and one New raw ... and so on will break.

In this case you still want to consider your control as a listbox, You can set up a rapapple such as

  & lt; ListBox.ItemsPanel & gt; & Lt; ItemsPanelTemplate & gt; & Lt; WrapPanel IsItemsHost = "True" /> & Lt; / ItemsPanelTemplate & gt; & Lt; /ListBox.ItemsPanel>  

This will then display objects horizontally and wrap up at the end of the line.


Comments