MSDN explains the RootVisual can only be set one time from code:

You can set the value of the RootVisual property only one time from code, although you get its value any number of times.

But we can set it to a UserControl that can switch it’s own content, as explained in the blog post:



I used this procedure to start with a progressIndicator and after authenticating the user and loading the user properties, showing the masterpage.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.