When I try to Dock 3 items to the top, only the first 2 correctly dock to the top. The 3rd item stays in the middle?
<DockPanel>
<Rectangle DockPanel.Dock="Top" WidthUnit="Pixels" Fill="Red" HeightUnit="Pixels" Width="100" Height="100" />
<Rectangle DockPanel.Dock="Top" WidthUnit="Pixels" Fill="Red" HeightUnit="Pixels" Width="100" Height="100" />
<Rectangle DockPanel.Dock="Top" WidthUnit="Pixels" Fill="Red" HeightUnit="Pixels" Width="100" Height="100" />
</DockPanel>