J-Unleashed!

On databases, programming and more

Posts Tagged ‘double-click’

Wherefore art thou, o double-click?

Posted by Joe on April 22, 2008

Believe it or not, some of the controls in Silverlight don’t have a double-click event. ListBox is one of them. I am astounded. And, no, ListBoxItems.MouseDoubleClick doesn’t work. So, as usual, I went on my quest to find out how to get double-click to work.

Thanks to a fellow by the name of David Kelley and his blog, HackingSilverLight, I found what I was looking for. Yes, it’s a hack, but a pretty good one, I must say. Take a look at it for yourself here:

http://hackingsilverlight.blogspot.com/2008/02/silverlight-20-double-click-support.html

Posted in Silverlight | Tagged: , , | Leave a Comment »