Sep 8 2011

Creating a Multi-Click Event in Silverlight 5

One of the things missing in Silverlight has been an implementation of a “double click” event.  Prior to Silverlight 5 you were basically on your own to write the code to implement this.  With Silverlight 5 out, we were given a new property in the MouseButtonEventArgs call ClickCount.  Instead of simply providing a double click event, the Silverlight team gave us the ability to track double click, triple click, and so on. However, there is a limitation to the ClickCount and this article will look at creating a solution to resolve it.  However, first lets take a quick look at how to use the new click count.

Continue reading