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.
Hi,
I apolgize for not replying to this thread originally, i must have overlooked it.
However, currently we don't have any click/ double click commands for cells/ rows in the XamGrid. All we have right now are events.
Depending on how complex your xamGrid currently is, you could implement your own Columns which expose the commands you need.
A colleague of mine, Devin Rader, wrote an article that shows how to do this:
http://forums.infragistics.com/blogs/devin_rader/archive/2010/07/08/creating-custom-columns-for-xamgrid.aspx
-SteveZ
We have moved to silverlight 4.0 now, and still no one at Infragistics has an answer for this?
a cell clicked or doublicked cammand? is any of this built into the latest control set?