title: visibility of frame/pages
body: <p>Here's the problem:</p>
  
  <p>I have a mainwindow with a frame where I load pages with a buttonpress, which I do like this:</p>
  
  <pre><code>private void btnKlanten_Click(object sender, RoutedEventArgs e)
  {
      frameMain.Source = new Uri("Frames/Klanten.xaml", UriKind.Relative);
  }
  </code></pre>
  
  <p>On the pageview I made a custom close button, so when I click on it I simulate the page to be closed, what I actually do is set the visibility to collapsed:</p>
  
  <pre><code>private void Close_MouseDown(object sender, MouseButtonEventArgs e)
  {
      this.Visibility = Visibility.Collapsed;
  }
  </code></pre>
  
  <p>Now the problem is that I can't find any way to make the page visible again.
  I tried insantiating the page on the window and accessing the visibility property that way, but that doesn't work.</p>
  
  <p>The strange thing is that when I click on another button that loads another page in the frame, that does work. After I clicked on another button, when I click on the first button again, that shows again as well.</p>
  
  <p>Is there any way to get this working?</p>