I have silverlight for wp toolkit version 4.2012.6.25 installed
1. I set my root frame to TransitionFrame and set page transition on my PhoneApplicationPage via xaml(it doesn't matter what kind):
2. I define my handler for RootFrame.Navigating event and want cancel navigation in it in some cases by setting NavigatingCancelEventArgs.Cancel to true.
3. Then I set NavigatingCancelEventArgs.Cancel to true in my RootFrame.Navigating event handler when user go from page that was described in 1. As a result I'm getting clear black screen(dark theme) with application bar only.
I saw the sources and think that this happens because in the TransitionFrame the Navigating handler is defined too. But I very need to cancel navigating in some cases in my handler and I want to see the whole page which a user tried to navigate from.
Comments: ** Comment from web user: shawnoster **
1. I set my root frame to TransitionFrame and set page transition on my PhoneApplicationPage via xaml(it doesn't matter what kind):
2. I define my handler for RootFrame.Navigating event and want cancel navigation in it in some cases by setting NavigatingCancelEventArgs.Cancel to true.
3. Then I set NavigatingCancelEventArgs.Cancel to true in my RootFrame.Navigating event handler when user go from page that was described in 1. As a result I'm getting clear black screen(dark theme) with application bar only.
I saw the sources and think that this happens because in the TransitionFrame the Navigating handler is defined too. But I very need to cancel navigating in some cases in my handler and I want to see the whole page which a user tried to navigate from.
Comments: ** Comment from web user: shawnoster **
Thanks for repro app, this helped us verify that this was similiar to http://silverlight.codeplex.com/workitem/10753 which was fixed last week. If you grab the latest source and compile you'll be able to get the update. We also plan to update the NuGet package very soon so you can wait until then.
There is still a minor UI annoyance in that the animation starts and is then canceled so you get partial animation which looks a little strange but it now restores correctly.