Caliburn.Micro and GestureListener

Topics: Actions & Coroutines
May 25, 2011 at 4:58 PM

Is there way to easily use GestureListener of Silverlight Toolkit with Caliburn Actions on WP7?

I tried few things with <i:Interaction.Triggers>, but it says it cant attach itself.

Coordinator
May 25, 2011 at 5:05 PM

You need to create a custom Trigger which wires to the GestureListener under the covers.

May 25, 2011 at 7:11 PM

Thanks for the idea.

I just found that I can't use GestureListener along with ContextMenu, because Tap event is raised even when I click on menu item. So I'm gonna use Button with clear DataTemplate and with this solution, there is no problem with actions.