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

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -