title: WPF DataGrid Progressbar with Text
body: <p>I have looked around to see a solution to my problem but I believe a lot of the solutions available are long winded for the problem. </p>
  
  <p>Basically I have a Progressbar inside a Datagrid cell that is working as it should. However, I now want to put text inside the Progressbar to display the actually percentage. 
  How is this done? </p>
  
  <p>My code thus far</p>
  
  <pre><code>        &lt;DataGridTemplateColumn Header="Percentage Downloaded" Width="5*"&gt;
             &lt;DataGridTemplateColumn.CellTemplate&gt;
                &lt;DataTemplate&gt;
                   &lt;ProgressBar Value="{Binding Path=PercentageDownloaded, Mode=OneWay}" Minimum="0" Maximum="100" /&gt;
                &lt;/DataTemplate&gt;
             &lt;/DataGridTemplateColumn.CellTemplate&gt;
          &lt;/DataGridTemplateColumn&gt;
  </code></pre>
  
  <p>To show effort on my behalf, I have tried using the tag property within the progress bar and using a textblock which both have failed.</p>
  
  <p>Many thanks</p>
  
  <p><strong>* Solution *</strong></p>
  
  <p>The solution provided by GiangregorioC works, as I didn't realise you can put  tag within a DataGridCellTemplate! </p>