开发者

Single click or mouseDoubleClick event Datagrid using a MVVM model.Is it possible?

I am using VS 2010 and a datagrid. I need the ability to either single click or double click and process the action in my ViewModel.

Is this possible? I could not find an example using MVVM.Can you provide 开发者_如何学Cone,a link or a snippet etc..

thanks a lot


You can use an attached behavior to map a command to the event. See Marlon Grech's blog for an example.


You may want to check this out, and the given links in the post: http://forums.silverlight.net/forums/t/188159.aspx. Hopefully this is along the lines of your implementation.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜