title: Set Datacontext of an ItemTemplate explicitly
body: <p>I have the following code below. The <code>WordList</code> is an <code>ObservableCollection</code> of <code>Word</code>'s.</p>
  
  <p>The thing I am trying to accomplish is setting the <code>DataContext</code> of each item to a wrapper class <code>NewWordViewModel</code> instead of the <code>Word</code> objects which is  set by default. The <code>CorrespondingWord</code> is a dependency property of the <code>NewWordViewModel</code>.</p>
  
  <p>The problem is xaml code creates a <code>NewWordViewModel</code> and sets it as <code>DataContext</code> but does not set the <code>CorrespondingWord</code> property to the actual <code>Word</code> object.</p>
  
  <p>Is there a xaml way to set this property?</p>
  
  <pre><code>&lt;ItemsControl ItemsSource="{Binding WordList}"&gt;
      &lt;ItemsControl.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;ui:NewWord&gt;
                  &lt;ui:NewWord.DataContext&gt;
                      &lt;viewModels:NewWordViewModel CorrespondingWord="{Binding}"/&gt;
                  &lt;/ui:NewWord.DataContext&gt;
              &lt;/ui:NewWord&gt;
          &lt;/DataTemplate&gt;
      &lt;/ItemsControl.ItemTemplate&gt;
  &lt;/ItemsControl&gt;
  </code></pre>