I am attempting to use the TransitioningContentControl. It works fine with prism navigation except it immediately removes the current content and animates the new one in.... always...
The first screen comes up (in the
MainContentRegion), then the call below is made after the user presses a button:
The new View - ThumbnailsView , a UserControl, is instantiated at this point, but the content control calls function below twice. The first time, OldContent is equal to the screen
with the button, and NewContent is null. Then OldContent is null and NewContent is equal to the new view above. Only the animation for the NewContent is done. The OldContent simply disappears. Doesn't transition like it is supposed to.
void OnContentChanged(object OldContent,
Should it be called twice? Have you done this this way? I can’t find a simple example where two views are switched using a transitioningcontentcontrol alone and
Can anyone help?