title: how do I load a page into a frame that is in a window starting from another wpf page?
body: <p>I'm creating a simple contact application in wpf and c #. Initially what I want seems simple, but I've tried in some ways to navigate between pages but it did not work. I can switch pages from my window, however, when I'm on one of my pages and try to load the other, nothing happens. </p>
  
  <pre><code>private void BtnEditarContato_Click(object sender, RoutedEventArgs e)
  {
              try
              {
                  Contato c = new Contato();
                  c = (Contato)DgContato.SelectedItem;
  
                  Page_Contato_Fisica p = new Page_Contato_Fisica(true, c);
  
                  ViewContatoFisico v = new ViewContatoFisico();
  
                  v.FrameContatoFisico.Content = p;
              }
              catch (Exception ex)
              {
                  MessageBox.Show(ex.Message);
              }
  }
  </code></pre>
  
  <p>I'm getting data from a record of a DataGrid, loading a template class and passing that class to another window to load the fields and make changes, but I'm not able to do this navigation.</p>
  
  <p>Does anyone have any idea how to solve this?</p>