title: StringFormat in XAML
body: <p>I am trying to format my <code>string</code> to have commas every 3 places, and a decimal if it is not a whole number.  I have checked roughly 20 examples, and this is the closest I have come:</p>
  
  <pre><code>&lt;TextBlock x:Name="countTextBlock" Text="{Binding Count, StringFormat={0:n}}" /&gt;
  </code></pre>
  
  <p>But I get a <code>The property 'StringFormat' was not found in type 'Binding'.</code> error.</p>
  
  <p>Any ideas what is wrong here?  Windows Phone 8.1 appears to differ from WPF, because all of the WPF resources say that this is how it is done.</p>
  
  <p>(The <code>string</code> is updated constantly, so I need the code to be in the <code>XAML</code>.  I also need it to remain binded.  Unless of course I cannot have my cake and eat it too.)</p>