locked
Datagrid Item Double Click Event Need Fast Help RRS feed

  • Question

  •  Hey can anyone  tell me how i set an event on datagrid item double clicked as i cant find it


    Thanks

    Friday, August 27, 2010 9:20 AM

Answers

All replies

  • Unfortunately the double-click is not supported natively.  There are numerous examples out there for writing the code to handle the double-click event, however, I really like the approach taken here: http://www.dansoltesz.com/post/2010/02/19/Silverlight-datagrid-double-click-behavior.aspx

    It's a very reusable behaviour that adds the double-click functionality to your control quickly.

    Hope this helps.

    Tony

     

    Friday, August 27, 2010 9:37 AM
  • Im using vb and tried converting the code but i got many errors , can you try?

    Friday, August 27, 2010 9:47 AM
  • If you get any error during conversion, please post your code and error message, so that we can have a look at and try to find the problem, thanks. 

    Monday, August 30, 2010 12:09 AM