private void Frame_Loaded(Object sender, RoutedEventArgs e) { _loaded = true; if (!IsInDesignMode()) { if (!_navigationService.ApplyDeepLinks()) { if (_deferredNavigation != null) { Navigate(_deferredNavigation); _deferredNavigation = null; } else if (InitialSource != null) { Navigate(InitialSource); } else { Navigate(String.Empty); } } } }