You can easily navigate from the main page using:
if (!eulaAgreed) NavigationService.Navigate(new Uri("/EULAPage.xaml", UriKind.Relative));
It is probably best to put this code in the OnNavigatedTo of your main page or even later in the page loop using Dispatcher.BeginInvoke(...) . The room before that (i.e. In the constructor or Loaded) may not work.
source share