Hi,
We are using MVVM pattern in our application. Please provide some help in handling grid events (like, Editmodestarted,SelectionChanged etc.,) in view model.
Thanks,
Ayyappan
Hello Ayyappan,
Thank you for your post. I have been looking into it and I created a sample project for you showing the functionality you want to achieve. Basically I used Interactions. I added references to Microsoft.Expression.Interaction and System.Windows.Interactivity assemblies, which contain the classes needed for such functionality. Then I added EventTrigger to the XamDataGrid for the EditModeStarted event and handled it in the ViewModel class. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Thanks for your input.
Regards,