Prologue:In this article we will discuss how to handle a double-click in Silverlight 5. Handling double-click is a new feature in Silverlight 5.Silverlight 5 has introduced the concept of a click count. Rather than create dedicated double, triple, or multiple click events, you can simply count the number of clicks using the ClickCount property of the MouseButtonEventArgs class. This works for both the left and right mouse buttons.Setup the Solution:Create a Silverlight Application project with the name "HandlingDoubleClickInSL" as shown below. As we are going to demonstrate in Silverlight 5 just ensure that we have selected Silverlight 5 in the project's options when creating the project. Setting up the XAML:Open the MainPage.xaml to design our screen. Here are the steps to create our UI.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: