Quantcast
Channel: Silverlight Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 801

Closed Issue: Listpicker performace is very poor [8004]

$
0
0
When I added 200 Items (countries list) to ListPicker, it becomes dead slow. This is the first control i saw which takes some seconds to show the list in windows phone 7.
any workaround to improve the performance ?

Below is my xaml

<toolkit:ListPicker Name="CountryList" FullModeHeader="Country Codes" Margin="110,60,0,17" HorizontalAlignment="Left" Height="62" Width="92">

<toolkit:ListPicker.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock x:Name="CountryCode" Height="43" Width="83" Text="{Binding CountryCode}"/>
</StackPanel>
</DataTemplate>
</toolkit:ListPicker.ItemTemplate>
<toolkit:ListPicker.FullModeItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="16 21 0 20">
<TextBlock x:Name="CountryCode" Width="90" Margin="0 0 0 4" FontSize="36" FontFamily="{StaticResource PhoneFontFamilyLight}" Text="{Binding CountryCode}"/>

<TextBlock x:Name="CountryName" Text="{Binding CountryName}" Margin="20 0 0 0" FontSize="36" FontFamily="{StaticResource PhoneFontFamilyLight}"/>
</StackPanel>
</DataTemplate>
</toolkit:ListPicker.FullModeItemTemplate>

</toolkit:ListPicker>

Thanks
UK
Comments: Closing fixed issues.

Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>