c# - How to display variable sized items? -


i have list of strings want them clickable , displayed horizontally next each other, if there no space left, container should continue arrange items in next line. please me. as can see, have failed using gridview

you should use wrappanel kind of layout. not available in windows runtime standard controls, here can find implementation it.

usage:

<itemscontrol>     <itemscontrol.itemspanel>         <itemspaneltemplate>             <controls:wrappanel/>         </itemspaneltemplate>     </itemscontrol.itemspanel>     <itemcontrol.items>        <!-- put strings here or use itemtemplate instead -->     </itemcontrol.items>  </itemscontrol> 

Comments

Popular posts from this blog

delphi - Disable and change color of node in Treeview -

unity3d - Rotate an object to face an opposite direction -

elasticsearch python client - work with many nodes - how to work with sniffer -