Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/257.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 前进控制在哪里?_C#_Xaml_Windows Phone 8 - Fatal编程技术网

C# 前进控制在哪里?

C# 前进控制在哪里?,c#,xaml,windows-phone-8,C#,Xaml,Windows Phone 8,我正在尝试编写一个基于WindowsPhone8SDK的应用程序。我一直看到有人提到Progressing控件,但我在工具箱或xaml设计器中没有看到它 如何使用它?ProgressRing是Win8 UI控件的一部分,而不是WP8。在WP8中,您应该使用SystemTray.ProgressIndicator,它是windows phone UI外壳的一部分。有关示例,请参阅和。ProgressRing不适用于Windows Phone 7或8,您必须使用ProgressBar或Perform

我正在尝试编写一个基于WindowsPhone8SDK的应用程序。我一直看到有人提到Progressing控件,但我在工具箱或xaml设计器中没有看到它


如何使用它?

ProgressRing是Win8 UI控件的一部分,而不是WP8。在WP8中,您应该使用SystemTray.ProgressIndicator,它是windows phone UI外壳的一部分。有关示例,请参阅和。

ProgressRing不适用于Windows Phone 7或8,您必须使用ProgressBar或PerformanceProgressBar:

请参见下面的博客链接,以获取简单的复制和粘贴代码,从而精确复制Windows ProgressRing(使用实际的样式代码)。工作完美,只是将其添加到我的WP8项目中:

在对该问题的回答中,有关于将其调整到WP8的更多信息:


下载以查看它的运行情况。

只是一个旁注,在wp8中,进度条实际上是performanceprogressbar