I have a WP7 app and so far, I have implemented within an MVVM framework.
I now want to extend this app and part of this involves a grid and I am not sure if I can do what I want to do via binding. Specifically
Will need a variable number of columns - I don't see how I can do this with binding. And if I can then I want to vary the width of the columns depending upon the number of columns
Same with the rows a variable number involved.
I can set up a VM with all the information required here, but I cannot see I can bind to the Grid to make it work. I also want to include some variable data within the grid and again, I cannot see how I can do this with binding. Worked well with a listbox where I have just bound to the collection of objects, but this is quite different.
Is this a case where I should just generate in the code behind? I am happy to do that... but would happily try and do it via binding if its possible.
- thanks