Issue posted on stackoverflow: http://stackoverflow.com/questions/10187829/wp7-listpicker-not-showing-all-items
I have also attached a sample project. Please check it out.
Comments: ** Comment from web user: wieser_software **
I see the same issue with 15 items. The problem appears when scrolling. I think it may have to do with recycling the items.
Here's my code fragment, when filled with 15 items with values 5-75
<StackPanel x:Name="selectSpeeds" Visibility="Collapsed">
<StackPanel.Resources>
<DataTemplate x:Name="SpeedPickerItemTemplate">
<Grid Height="96" Width="96" Margin="12">
<Ellipse HorizontalAlignment="Center" VerticalAlignment="Center"
Height="96" Width="96" Fill="Red" />
<Ellipse HorizontalAlignment="Center" VerticalAlignment="Center"
Height="72" Width="72" Fill="White" />
<TextBlock Text="{Binding value}" Margin="0,-3,0,0"
FontSize="48" HorizontalAlignment="Center" VerticalAlignment="Center"
Foreground="Black" FontWeight="Bold" />
</Grid>
</DataTemplate>
<DataTemplate x:Name="SpeedPickerFullModeItemTemplate">
<Grid>
<Ellipse HorizontalAlignment="Center" VerticalAlignment="Center"
Height="72" Width="72" Fill="Red" />
<Ellipse HorizontalAlignment="Center" VerticalAlignment="Center"
Height="60" Width="60" Fill="White" />
<TextBlock Text="{Binding value}"
FontSize="48" HorizontalAlignment="Center" VerticalAlignment="Center"
Foreground="Black" />
</Grid>
</DataTemplate>
</StackPanel.Resources>
<TextBlock Style="{StaticResource PhoneTextNormalStyle}" TextWrapping="Wrap">
An alarm will sound if you are travelling faster than the speed below:
</TextBlock>
<toolkit:ListPicker x:Name="speedLimit" Header="speed limit"
FullModeHeader="Speed Limit"
ItemTemplate="{StaticResource SpeedPickerItemTemplate}"
FullModeItemTemplate="{StaticResource SpeedPickerItemTemplate}"
>
</toolkit:ListPicker>
</StackPanel>