Zebra Striping Listbox Items XAML/C# Windows Phone 7.5
I want to zebra stipe a Listbox that is generated from an observable collection of objects returned from a search.

The code is like so 

                   <ListBox x:Name="searchResultsListBox" Margin="0, 115, -12, 0">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Orientation="Horizontal" Margin="0,0,0,17">
                                    <StackPanel Width="411">
                                        <TextBlock Text="{Binding Registration}" Margin="12, -6, 12, 0" TextWrapping="Wrap" FontSize="30" Foreground="White"/>
                                        <TextBlock Text="{Binding SalePrice}" Margin="12, -6, 12, 0" TextWrapping="Wrap" Style="{StaticResource PhoneTextSubtleStyle}" Foreground="#AFA7A0"/>
                                    </StackPanel>
                                </StackPanel>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
How would I go about striping it so that the first `<stackpanel>` was yellow, the second white and the third yellow again etc etc?

Thanks,
Danny.
Zebra Striping Listbox Items XAML/C# Windows Phone 7.5
===

I want to zebra stipe a Listbox that is generated from an observable collection of objects returned from a search.

The code is like so 

                   <ListBox x:Name="searchResultsListBox" Margin="0, 115, -12, 0">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Orientation="Horizontal" Margin="0,0,0,17">
                                    <StackPanel Width="411">
                                        <TextBlock Text="{Binding Registration}" Margin="12, -6, 12, 0" TextWrapping="Wrap" FontSize="30" Foreground="White"/>
                                        <TextBlock Text="{Binding SalePrice}" Margin="12, -6, 12, 0" TextWrapping="Wrap" Style="{StaticResource PhoneTextSubtleStyle}" Foreground="#AFA7A0"/>
                                    </StackPanel>
                                </StackPanel>
                            </DataTemplate>
                        </ListBox.ItemTemplate>
                    </ListBox>
How would I go about striping it so that the first `<stackpanel>` was yellow, the second white and the third yellow again etc etc?

Thanks,
Danny.