I am creating images dynamically and want to add drag-drop and pinch zoom functionality to the app Here is the xaml code which i want to implement in the c#-
<Image Width="100" Height="100" Name="transform" Source="/PhoneApp22;component/Images/abc.png" >
<Image.RenderTransform>
<TransformGroup>
<CompositeTransform x:Name="transform2"/>
</TransformGroup>
</Image.RenderTransform>
<toolkit:GestureService.GestureListener>
<toolkit:GestureListener PinchStarted="OnPinchStarted" PinchDelta="OnPinchDelta"
DragDelta="GestureListener_DragDelta"/>
</toolkit:GestureService.GestureListener>
</Image>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.