jeudi 15 janvier 2015

Need advice on customizing ListBox template

I have a ListBox of CheckBox values, the number of values vary from time to time, it can be 10, 15, 100, etc..


I would like to customize the way the values are displayed. Currently, if I have 50 values, they are all displayed vertically, just one column.


I would like to have it such that, 1 column will have a maximum of 10 values, and I am able to scroll horizontally to view the values at other columns.


I tried using ItemsPanelTemplate with StackPanel orientation horizontal, but well, all values are now in 1 row.


Please advice.


Thanks!





Aucun commentaire:

Enregistrer un commentaire