+4  A: 

Wrong way around. Customize the panel that the ItemsControl uses to contain its items:

<ItemsControl>
    <ItemsControl.ItemsPanel>
        <ItemsPanelTemplate>
             <StackPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </ItemsControl.ItemsPanel>
</ItemsControl>

HTH, Kent

Kent Boogaart
A: 

you should use itemspanel. look here my answer

ArsenMkrt