1. proflo's Avatar
    Hi,

    is there anyway to update the UI more often than normal?
    I want to get the position from different Rectangles in a Canvas.
    But the values i get can't be right.

    Best Regards Proflo
    03-01-2014 05:36 AM
  2. peterdroid's Avatar
    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.
    03-02-2014 12:18 PM
  3. proflo's Avatar
    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);
    }
    }
    Last edited by proflo; 03-02-2014 at 01:49 PM.
    03-02-2014 12:59 PM

Similar Threads

  1. Phone update 1520
    By brettcspencer in forum Nokia Lumia 1520
    Replies: 3
    Last Post: 03-03-2014, 06:22 AM
  2. Replies: 10
    Last Post: 03-01-2014, 02:21 PM
  3. any one can help? i am facing problems with my lumia 720
    By Amritash Pathania in forum Nokia Lumia 720
    Replies: 5
    Last Post: 03-01-2014, 11:00 AM
  4. Help: Formula on Wikipedia crashed when browsing with IE
    By kexanie Lee in forum Windows Phone 8
    Replies: 3
    Last Post: 03-01-2014, 09:47 AM
  5. After reset i dont have Lumia black update
    By 23Seater in forum Nokia Lumia 920
    Replies: 4
    Last Post: 03-01-2014, 06:25 AM
LINK TO POST COPIED TO CLIPBOARD