I have a Viewmodel object and I am binding my silverlight Grid to it but I would like to expose the Rowselectedchanged event as a command from my view model so I don't have to write the code in the row selected changed event handler in my page (view)
Is this an exposed command and are there any examples that could show me the way?
I know this is an old post, but just in case anyone else finds this post there is a blog post that demonstrates how to create a doublle click command.
http://ko.infragistics.com/community/blogs/blagunas/archive/2012/06/01/an-mvvm-friendly-property-for-the-xamdatapresenter-doubleclick-event.aspx
You can use this approach for any type of custom command you want to create. You can also use behaviors if you wish.