title: DataGrid Repeated Column
body: <p>I'm creating a WPF View with a <code>DataGrid</code>.</p>
  
  <p>The <code>DataGrid</code> is bound to the field <code>Properties</code> on the <code>ViewModel</code>.</p>
  
  <p>However, for one of the columns I want each row to have the same value bound to some other property on the View model.</p>
  
  <p>Specificically, the table is showing named monetary values and the repeated column will show a currency code (which is the same for each row).</p>
  
  <p>I can't figure out how to do this, I've tried to use the following:</p>
  
  <pre><code>  &lt;DataGrid ItemsSource="{Binding Properties}"&gt;
      &lt;DataGrid.Columns&gt;
        &lt;DataGridTextColumn Header="Target" Binding="{Binding Target}"/&gt;
        &lt;DataGridTextColumn Header="Value" Binding="{Binding Value}"/&gt;
        &lt;DataGridTemplateColumn Header="Currency"&gt;
          &lt;DataGridTemplateColumn.CellTemplate&gt;
            &lt;DataTemplate&gt;
              &lt;TextBlock Text="{Binding Properties.NodeCurrency}"/&gt;
            &lt;/DataTemplate&gt;
          &lt;/DataGridTemplateColumn.CellTemplate&gt;
        &lt;/DataGridTemplateColumn&gt;
      &lt;/DataGrid.Columns&gt;
    &lt;/DataGrid&gt;
  </code></pre>
  
  <p>I'm using the Caliburn framework with no typed <code>DataContext</code> in the View. I'm not sure if this matters to the question though.</p>