title: Reference to label C# wpf
body: <p>I've made a project in VS2010 with a navigation window and one page.
  When the navigation windows loads some action is being done, I also want to give a label on my page some content.</p>
  
  <p>Name of the label: label2</p>
  
  <p>Name of the public partial class of the page is: Page1</p>
  
  <p>namespace: WpfApplication1 </p>
  
  <p>This does not work:</p>
  
  <pre><code>label2.content = "my string";
  </code></pre>
  
  <p>I understand that label2 is on my page but how do I reference to that page from the navigation window?</p>
  
  <p>I'm a beginner in C# and WPF, I tried a lot and it's driving me crazy not getting it working.</p>