I have used two slider control and used ManipulationDelta event to handle multitouch events. and depending on the movement of the slider some process happen. Now the issue is in my canvas movement of the object get freeze when i move my slider through touch screen.
I read somewhere, optimizing the outside code will work. but in my case i am not able to change my code outside the event.
Here is my code,
private void slider_ManipulationDelta(object sender, ManipulationDelataEventArgs e)
slider.value += e.DeltaManipulation.Translation.X;
Canvas.SetLeft(rectangle, slider.value *2);
1) I have removed all code from event but still it is freeze when dealing with multiple slider control
2) I have DispatcherTimer to update other UI element on Canvas on slider.Value
Edited 13-Nov-12 2:47am
i think you should use MultiThriding
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)