I have a main window with grid and have to fill the grid with a user control(basically an expander with list). The number of instances of UC I need to create is dynamic. The viewsource that I need to bind is also generated on the fly. I need to bind it so that I can do some processing based on the items the user selects in the dynamic generated UC's. I could achieve this in code behind. But I was wondering how to do the same applying MVVM.
Any help is appreciated.
Thanks, BUB