title: Reference string resource in Windows Phone 8.1 XAML
body: <p>I am unclear how do I reference a control text property using string resources in Windows Phone 8.1?</p>
  
  <p>For instance I have:</p>
  
  <pre><code>&lt;HubSection x:Name="MySection" HeaderTemplate="{StaticResource MyHeaderTemplate}" Header="{StaticResource MyText}"&gt;
  
  and 
  
  &lt;AppBarButton Name="MyAppBar" Label="{StaticResource MyText}" ...&gt;
  </code></pre>
  
  <p>and </p>
  
  <p></p>
  
  <p>They both reference MyText which I want to load from resource .resx file.</p>