The simplest way to detect DoubleClick in Silverlight(yinyangme.com)
submitted by
jmccurdy(40) 2 years, 3 months ago
Here is a simple static class, MouseButtonHelper, that offers a single method, IsDoubleClick, to determine if a standard MouseLeftButtonDown or MouseLeftButtonUp event is a double click. In the past I have used timers, and Triggers and Behaviors to accomplish the same thing, but this approach is less code, less XAML, and uses a lot less resources.
|category: Silverlight
|Views: 19
tags:
Silverlight another
Everyones tags:
Your Tags: