title: Accessing ItemsControl.Items from ItemsControl.DataTemplate
body: <p>Is it possible to somehow pass the collection of <code>ItemsControl.Items</code> to each individual item in the control via bindings?</p>
  
  <p>What I want to do would look like this (the WorkspaceCubes binding specifically): (it doesn't currently work because you can't bind to an <code>ItemsControl</code> or its <code>Items</code>)</p>
  
  <pre><code>&lt;ItemsControl x:Name="workspace" ItemsSource="{Binding Path=CubeViewModels}"&gt;
      &lt;ItemsControl.ItemsPanel&gt;
          &lt;ItemsPanelTemplate&gt;
              &lt;Canvas Background="SkyBlue" Margin="0"&gt;&lt;/Canvas&gt;
          &lt;/ItemsPanelTemplate&gt;
      &lt;/ItemsControl.ItemsPanel&gt;
      &lt;ItemsControl.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;Canvas&gt;
                  &lt;Sift:CubeView WorkspaceCubes="{Binding ElementName=workspace, Path=Items}"  DataContext="{Binding}"&gt;&lt;/Sift:CubeView&gt;
              &lt;/Canvas&gt;
          &lt;/DataTemplate&gt;
      &lt;/ItemsControl.ItemTemplate&gt;
  &lt;/ItemsControl&gt;
  </code></pre>