Hi,
I am using MVVM and my problem is that is it possible to make a selection for xamdatagrid in the viewmodel and highlight the same in the view through the viewmodel only.
Hello Manuj,
Thank you for your post. I have been looking into it and I can say that since the XamDataGrid’s has a SelectedItems collection which is read-only you are not able to bind this collection to a Property in the ViewModel. You are able to set the ActiveDataItem trough ViewModel like it is discussed here:
http://social.msdn.microsoft.com/Forums/en/wpf/thread/c8a68547-3fae-4f3d-a7bd-9f3c660cb9f2
Hope this helps you.