I have an object that has about 30 properties, depending on who is viewing the data, I need to present it with only 10-12 properties. These properties will form the WPF datagrid data columns. I am using .Net 4.0 however all this will happen at runtime. I need to do this MVVM. Any guidance on how to achieve this will be appreciated.
Yours faithfully,
You have two options, as far as I can see.
1) ViewableDetailsType enum ViewModel, , . DataGrid, Columns , .
ViewableDetailsType
DataGrid
Columns
2) -- DTO . , . - , DataGrid .
, MVVM, ViewModel , , .