title: How to navigate between View with Prism 7.2?
body: <p>I'm writing an application and I want to put navigation in it. This application is using WPF and I'm using Prism 7.2.0.1367.</p>
  
  <p>So I created 2 views: a <code>HomePage</code> and a <code>ModeFileAttente</code> view.</p>
  
  <p>I'm also using the MVVM pattern. </p>
  
  <p>Here is my <code>app.xaml.cs</code> : </p>
  
  <pre><code>public partial class App : PrismApplication
  {
      protected override Window CreateShell()
      {
          return Container.Resolve&lt;V.HomePage&gt;();
      }
  
      protected override void RegisterTypes(IContainerRegistry containerRegistry)
      { 
          containerRegistry.RegisterDialog&lt;V.HomePage, VM.HomePageViewModel&gt;();
          containerRegistry.RegisterDialog&lt;V.ModeFileAttente, VM.ModeFIleAttenteViewModel&gt;();
      }
  
      protected override void ConfigureModuleCatalog(IModuleCatalog  moduleCatalog)
      {
          moduleCatalog.AddModule&lt;Bootstrapper&gt;();
      }
  }
  </code></pre>
  
  <p>My <code>HomePage.xaml</code>:</p>
  
  <pre><code>&lt;Window x:Class="TestWPF.View.HomePage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:prism="http://prismlibrary.com/"
      prism:ViewModelLocator.AutoWireViewModel="True"
      mc:Ignorable="d"
      Title="HomePage" Height="347.667" Width="664"&gt;
  &lt;Grid&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="277*"/&gt;
          &lt;ColumnDefinition Width="16*"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
  
      &lt;DockPanel Grid.ColumnSpan="2" Margin="0,0,0.333,-0.333"&gt;
          &lt;Button Padding="0" DockPanel.Dock="Left" Content="Mode normal" Command="{Binding ClickCommand}" CommandParameter="ModeFileAttente"/&gt;
          &lt;Button Padding="0" DockPanel.Dock="Right" Content="Mode tournois" HorizontalAlignment="Stretch"/&gt;
      &lt;/DockPanel&gt;
      &lt;ContentControl prism:RegionManager.RegionName="ContentRegion" Margin="5"  /&gt;
    &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>And this is the view model: </p>
  
  <pre><code>class HomePageViewModel : BindableBase, IDialogAware, INotifyPropertyChanged
  {   
  
      #region Private region
      private readonly IRegionManager _regionManager;
  
      public event Action&lt;IDialogResult&gt; RequestClose;
      #endregion
  
      public DelegateCommand&lt;string&gt; ClickCommand { get; private set; }
  
  
  
      public string Title =&gt; throw new NotImplementedException();
  
      public HomePageViewModel(IRegionManager regionManager)
      {
          _regionManager = regionManager;
          ClickCommand = new DelegateCommand&lt;string&gt;(ExecuteClickCommand);
      }
  
      private void ExecuteClickCommand(string path) {
          _regionManager.RequestNavigate("ContentRegion", "FileAttente");
      }
  
      public bool CanCloseDialog()
      {
          throw new NotImplementedException();
      }
  
      public void OnDialogClosed()
      {
          throw new NotImplementedException();
      }
  
      public void OnDialogOpened(IDialogParameters parameters)
      {
          throw new NotImplementedException();
      }
  }
  </code></pre>
  
  <p>I also got a <code>Bootstrapper</code> class : </p>
  
  <pre><code>public class Bootstrapper : IModule
  {
      public void OnInitialized(IContainerProvider containerProvider)
      {
      }
  
      public void RegisterTypes(IContainerRegistry containerRegistry)
      {
          containerRegistry.RegisterForNavigation&lt;ModeFileAttente&gt;();
      }
  }
  </code></pre>
  
  <p>My MVVM pattern work's well, but when I want to navigate between my "HomePage" and my "ModeFileAttente" view, nothing happens except a "System.Object" on my view. </p>
  
  <p>I already search what could be the problem, but I didn't something that resolve my issue. </p>
  
  <p>Did someone still got this error with this version of prism ? </p>
  
  <p>PS: my 2 view are in a "View" folder, same for the view model in a ViewModel folder</p>