Mouse Double Click event implementation, requires Parser.CreateMessage be public

Nov 18, 2010 at 11:06 AM


I've implemented handling of MouseDoubleClick event and passing it as action in VM for Silverlight. But I've modified visibility of one method in Parser class, the CreateMessage(...). Would you please consider including this modification in main sources? Or may be there is a better way to acheve that?

This is the changeset containing modification in my fork.

Most important code fragment in my implementation:

		private static void AttachActionToTarget(string text, DependencyObject d)
			var actionMessage = Parser.CreateMessage(d, text);

			var trigger = new ConditionalEventTrigger
				EventName = "MouseLeftButtonUp",
				Condition = e => DoubleClickCatcher.IsDoubleClick(d, e)


The gist with full implementation, if someone interested in my solution.


Nov 18, 2010 at 2:13 PM

I added a ticket to fix the visibility.

Nov 18, 2010 at 2:23 PM