title: Different itemssource for different combobox in Datagrid
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/13182777/different-values-for-different-comboboxes-in-datagrid">Different values for different comboboxes in Datagrid</a>  </p>
  </blockquote>
  
  
  
  <p>I have two comboboxes added to a <code>DataGrid</code> using the code below:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;DataGrid x:Name="dData" HorizontalAlignment="Left" Margin="76,105,0,0" VerticalAlignment="Top" Height="191" Width="313" Grid.ColumnSpan="2" AutoGenerateColumns="False"&gt;
      &lt;DataGrid.Columns&gt;
          &lt;DataGridTextColumn Binding="{x:Null}" ClipboardContentBinding="{x:Null}" Header="Hello"/&gt;
          &lt;DataGridTemplateColumn Header="Status" Width="100"&gt;
              &lt;DataGridTemplateColumn.CellTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;ComboBox Name="Combo1" Height="22"/&gt;
                  &lt;/DataTemplate&gt;
              &lt;/DataGridTemplateColumn.CellTemplate&gt;
          &lt;/DataGridTemplateColumn&gt;
      &lt;/DataGrid.Columns&gt;
      &lt;ComboBox Name="Combo1"/&gt;
      &lt;ComboBox Name="Combo2"/&gt;
  &lt;/DataGrid&gt;
  </code></pre>
  
  <p>Now, how do I add two different itemsources to these two columns?</p>
  
  <p><img src="https://i.stack.imgur.com/maIQN.png" alt="enter image description here"></p>