can u show some code ? what u already do ?
Canvas have always updated if u set it in code.
For specific update ui need use thread.
Here is my code which doesn't do what i want:
List<Rectangle> rects = new List<Rectangle>();
private void ThisManipulationDelta(object sender, System.Windows.Input.ManipulationDeltaEventArgs e)
{
moveTiles(0, e.DeltaManipulation.Translation.Y);
}
private void moveTiles(double x, double y)
{
double newTop, newLeft;
foreach (Rectangle t in rects)
{
newTop = Canvas.GetTop(t) + y;
newLeft = Canvas.GetLeft(t) + x;
if (newTop < 0)
{
newTop = 500;
}
Canvas.SetTop(t, newTop);
Canvas.SetLeft(t, newLeft);
}
}