windows phone 7 - How to use multitouch behaviour from multitouch.codeplex.com -
i want pinch zoom in images in windows phone 7.1 app. here steps have followed -
downloaded latest binaries.
added system.windows.interactivity.dll , multitouch.behaviors.silverlight.wp71.dll project wp71/release folder.
added reference in xaml:
xmlns:mt="clr-namespace:multitouch.behaviors.silverlight4;assembly=multitouch.behaviors.silverlight.wp71" xmlns:i="clr-namespace:system.windows.interactivity;assembly=system.windows.interactivity"
here code:
<image source="pic.jpg"> <i:interaction.behaviors> <mt:multitouchbehavior istranslateenabled="true" isrotateenabled="false" /> </i:interaction.behaviors> </image>
i'm getting error on running app:
the type 'multitouchbehavior' not found.
Comments
Post a Comment