title: navigation and how to register the view with the region?
body: <p>I have two views between which I want to navigate on button click and they are  registered with a region on module initialization like this:</p>
  
  <pre><code>public class ModuleTaxCalc : IModule //PRISM MODULE POWER
  {
      IUnityContainer container;
      IRegionManager regionManager;
  
  
      public ModuleTaxCalc(IUnityContainer container, IRegionManager regionManager)
      {
          this.container = container;
          this.regionManager = regionManager;
  
      }
  
      public void Initialize()
      {
  
          container.RegisterType&lt;ICustomer, Customer&gt;();
  
          //container.RegisterType&lt;object, ViewA&gt;("ViewA");
          //container.RegisterType&lt;object, ViewB&gt;("ViewB");
          regionManager.RegisterViewWithRegion("TaxCalculatorRegion", typeof(ViewA));
          regionManager.RegisterViewWithRegion("TaxCalculatorRegion", typeof(ViewB));
  
      }
  
  
  }
  </code></pre>
  
  <p>My issue is that the 'ViewA' gets visible automatically when application starts/</p>
  
  <p>if I do this instead:</p>
  
  <pre><code> public void Initialize()
          {
  
              container.RegisterType&lt;object, ViewA&gt;("ViewA");
              container.RegisterType&lt;object, ViewB&gt;("ViewB");
  
  
          }
  </code></pre>
  
  <p>then both views are invisible and become visible only on button click, but I guess they are not registered with the region in this case.</p>