Just a small question but i haven't found an answer to it so far today so i thought i'd just ask myself.
If i place a contentcontrol in my view with it's contents bound to a property, then build a DataGridView in my viewmodel and set that property to it is that breaking MVVM?
Basically my application needs to have a DataGrid that has different columns in different circumstances.
I have read about placing a DataGrid on the view then binding to a columncollection and using behaivours and such.
I felt using a contentcontrol would just be easier really but there must be a reason i can't find many (or any) information on weather that breaks MVVM or not.
What I have tried:
Goole, CodeProject, StackOverflow