title: Elegant way of enabling specific Columns in a dynamic WPF UniformGrid to be resizable
body: <p>like the title says: Is there an elegant way of enabling specific columns in a dynamic UniformGrid to be resizable?</p>
  
  <p><em>The details</em>:</p>
  
  <p>I have a ItemsControl and set the ItemsPanelTemplate to be of type UniformGrid. The ItemTemplate is set to a Custom Control that renders the column content.</p>
  
  <p>Here is the xaml excerpt:</p>
  
  <pre><code>&lt;ItemsControl x:Name="PART_Dimensions" 
              Grid.Column="1" HorizontalAlignment="Stretch"&gt;
    &lt;ItemsControl.ItemsPanel&gt;
      &lt;ItemsPanelTemplate&gt;
  
          &lt;UniformGrid Columns="{Binding 
              Path=ItemsSource.Count, 
              RelativeSource={RelativeSource FindAncestor,
              AncestorType={x:Type ItemsControl}}}" 
                          IsItemsHost="True"/&gt;
  
      &lt;/ItemsPanelTemplate&gt;
    &lt;/ItemsControl.ItemsPanel&gt;
    &lt;ItemsControl.ItemTemplate&gt;
      &lt;DataTemplate&gt;
  
              &lt;local:Dimension 
                  PropertyA="{Binding SourceA}"
                  ItemsSource="{Binding SourceB}" /&gt;
  
      &lt;/DataTemplate&gt;
  &lt;/ItemsControl.ItemTemplate&gt;
  </code></pre>
  
  <p></p>
  
  <p>Now, what i'm trying to achieve is to make it possible, that specific columns are resizable, giving them a static width while still allowing the other columns to be sized uniformly in width.</p>
  
  <p>Has anyone some direction to point me to? I was hoping to avoiding too specific custom implementations of the Rendering of the UniformGrid, is there a smart and easy way doing this?</p>
  
  <p>thanks in advance
  with regards
  Ole</p>