title: How to Bind RESW String to UI
body: <p>I have literally just created my first Windows Phone Runtime app, and I am moving from having experience writing Windows Phone Silverlight apps. Little did I know that there are a lot of differences to consider, one being binding resource strings to properties in the UI. I have started with a <code>Hub</code> control because simply it seems like a great template. My first step was to create a new <code>HubSection</code> and create <code>Header</code> text. Generally for good practice and saving time down the road, I always add my resource strings as I create items in the UI for translation purposes. In this, I am having trouble getting the <code>HubSection</code> Header to display my resource string. </p>
  
  <p>Note, I am very new to the Windows Runtime and am currently doing tutorials in CHannel9 and Microsoft Virtual Academy.</p>
  
  <p>Also note, in this template I have not changed anything, so my Page <code>DataContext</code> in XAML is still</p>
  
  <pre><code>DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
  </code></pre>
  
  <p>Currently what I have is as follows</p>
  
  <pre><code>&lt;HubSection x:Uid="HubPage.BuiltInAppsHub"&gt;
              &lt;HubSection.HeaderTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;TextBlock x:Uid="HubPage.BuiltInAppsHub.Header"/&gt;
                  &lt;/DataTemplate&gt;
              &lt;/HubSection.HeaderTemplate&gt;
  
          &lt;/HubSection&gt;
  </code></pre>
  
  <p>And in my Resources.resw file my key value is <code>HubPage.BuiltInAppsHub.Header.Text</code> and my value is simply <code>built in apps</code>. So a couple questions here. One, how do I link the <code>TextBlock</code> to show this string value? Also, is there a more direct way than creating a <code>HeaderTemplate</code>, could I not just do this in the <code>Header</code> property of the <code>HubSection</code> similar to how I would have done this in the <code>Header</code> property of the <code>PanoramaItem</code> in the Silverlight version? Any information, background, suggestions, etc would be greatly appreciated.</p>
  
  <p>EDIT the following displays the resw resource string when running the emulator, but not in the designer which is very difficult to see where text is located</p>
  
  <pre><code>&lt;HubSection x:Uid="HubPageBuiltInAppsHub"&gt;
              &lt;!--&lt;HubSection.HeaderTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;TextBlock Text="{Binding}"/&gt;
                  &lt;/DataTemplate&gt;
              &lt;/HubSection.HeaderTemplate&gt;--&gt;
  
          &lt;/HubSection&gt;
  </code></pre>