How to access a variable in another page
<p>So I have this page in an UWP Windows 10 app using C#:</p>

<pre><code>public sealed partial class MainPage : Page
</code></pre>

<p>This page contains a TextBlock called tbPageTitle.</p>

<p>I'd like to change the text of tbPageTitle to "bla" from another page, so I use the following code:</p>

<pre><code>MainPage.tbPageTitle.text = "bla";
</code></pre>

<p>However, I get the following error:</p>

<blockquote>
  <p>CS0120    An object reference is required for the non-static field, method, or property 'MainPage.tbPageTitle'</p>
</blockquote>

<p>I don't know what to do here. I feel like I've read every single Google result.
I found some results to create a new instance of a class, so that would be for example:</p>

<pre><code>MainPage mp = new MainPage();
mp.tbPageTitle.text = "bla";
</code></pre>

<p>But wouldn't that create a completely new MainPage? This also doesn't work by the way...</p>