locked
How to know when a page transition has completed

    Question

  • I want to change my windows phone universal page's hub's background image every time the user comes to the page. The problem is that if I try to change the image when the user leaves the page, to prepare it for the return, you can see the change happen during the animation. How can I run this code when the page transition animation completes?

    Michael DiLeo

    Sunday, August 24, 2014 11:34 PM

Answers

  • Hi Michael,

    Storyboard class does have a Completed event trigger, if you can use this, your problem should be solved.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, August 25, 2014 2:27 AM
    Moderator