windows phone 7 - NonLinearNavigationService and Toolkit Page Transitions -


i'm using nonlinearnavigationservice class , toolkit page transitions in project, noticed bug when using nonlinearnagivationservice, transition effect won't play , i'm looking solution issue.
i've read in wp7 developers blog they're working support page transitions in next version of nonlinearnavigationservice still no updates.
hope has found workaround issue.

you'll see behavior if you're doing this:

    public mainpage()     {         initializecomponent();     }      protected override void onnavigatedto(navigationeventargs e)     {         base.onnavigatedto(e);         // update page     } 

one way address hook begintransition event on navigationintransition:

    public mainpage()     {         initializecomponent();         transitionservice.getnavigationintransition(this).begintransition += new system.windows.routedeventhandler(mainpage_begintransition);     }      void mainpage_begintransition(object sender, system.windows.routedeventargs e)     {         // update page     } 

your update logic won't run until 'out' transition completed , 'in' transition getting ready run.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -