Irregular layout ItemsControl

Posted by firoso on Stack Overflow See other posts from Stack Overflow or by firoso
Published on 2010-06-14T22:35:31Z Indexed on 2010/06/14 22:42 UTC
Read the original article Hit count: 208

Filed under:
|
|

I have a strange layout for an ItemsControl.

I have a 4x6 grid with the following pattern:

1  2  3  4 
13 14 15 16
5  6  7  8
17 18 19 20
9  10 11 12
21 22 23 24

Is there an easy way to do this? should I be using 6 Items Controls and take "sections" of my list? is there a good way to do this? What about notification?

It's important to note that I may, or may not, have all 24 entries present, but the layout needs to be maintained (think of it like filled slots on a bingo card or something)

© Stack Overflow or respective owner

Related posts about wpf

Related posts about layout