When I run the following XAML, I get:
- An exception; or
- A infinite loop (100% CPU, no workingset delta)
<ItemsControl Grid.Row="2" Margin="5,5,5,5"
ItemsSource="{Binding Path=Attributes}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel> ***
<Rectangle Height="100" Width="20" Fill="Red" />
</StackPanel>
etc.
Here is the wierd part: if I remove the <StackPanel> ***, it works fine.
Any thoughts?



