2013-04-29 50 views
0

对于Windows Phone应用程序数据从Web Api的异步加载。 数据加载时,必须指明它。 我发现了一些关于一个进度条,但它没有显示出来:PerformanceProgressBar WP8

<toolkit:PerformanceProgressBar Height="100" Width="100" Margin="0,0,0,0" Background="Yellow" Foreground="Purple" IsIndeterminate="True" Visibility="Visible"></toolkit:PerformanceProgressBar> 

有谁知道一个很好的例子,或办法做到这一点?

回答

1

您需要使用集成shell:systemtray.progressindicator for this! 的例子列表可以发现here...

+0

谢谢你的例子。 – Batsman 2013-04-29 12:59:29

+1

你可以随时接受答案;) – Depechie 2013-04-29 13:00:33

3

PerformanceProgressBar从手机工具箱的WP8版本中删除,因为内置的进度没有性能问题,检查this out

然而,你的代码应该仍然是WP 7.1