WrapPanel doesn't work as a ItemsPanelTemplate?
<p>I've an <code>ItemsControl</code> with the following code:</p>

<pre><code>&lt;ItemsControl ItemsSource="{Binding SomeModelList}"&gt;
    &lt;ItemsControl.ItemsPanel&gt;
        &lt;ItemsPanelTemplate&gt;
            &lt;WrapPanel Orientation="Vertical" /&gt;
        &lt;/ItemsPanelTemplate&gt;
    &lt;/ItemsControl.ItemsPanel&gt;
    &lt;ItemsControl.ItemTemplate&gt;
        &lt;DataTemplate&gt;
            &lt;controls:SomeUserControl ModelValue="{Binding}"/&gt;
        &lt;/DataTemplate&gt;
    &lt;/ItemsControl.ItemTemplate&gt;
&lt;/ItemsControl&gt;
</code></pre>

<p>But visually, I've only one column of items, and some items are not displayed(overflow on the bottom of the windows). What should I do to get those in two column when not space available?</p>

<p><strong>Edit</strong> </p>

<p>in fact, if I set a "MaxWidth", I get two column, but this is still not working as expected, because if I've not a lot of items, they should be on one column and use the available space</p>

<p><strong>Edit 2</strong> </p>

<p>Some more informations:
My container(the one with the ItemsControl) is a window, that contains a Grid. One of the cell is allocated to this ItemsControl. It is set to use all the remaining space.</p>

<p>The userControl are composed with one DockPanel, which contains some textBlock and a graphic. Even if there is no Height specified, this control cannot grow in height, but in width.</p>