在Windows Phone应用程序的登录页面上使用进度条(Use progressbar on login page of windows phone application)

编程入门 行业动态 更新时间:2024-10-27 23:19:02
在Windows Phone应用程序的登录页面上使用进度条(Use progressbar on login page of windows phone application)

我正在使用visual studio 2012 ultimate开发windows phone应用程序。 我的应用程序中有一个页面,其中有一个提交按钮。 我想在点击提交按钮时使用进度条,它将显示直到下一页被加载。我已经将工具箱中的进度条控件添加到我的设计文件中但是现在但接下来要做什么? 。所以请有人帮助我....先谢谢.....

I Am developing windows phone application with visual studio 2012 ultimate. I have one page in my application in which one submit button is present. I want to use Progress bar when click on submit button and it will display till next page is loaded.I already add Progress bar control from toolbox to in my designing file but now but what to do next? .So Please anybody help me.... thanks in Advance.....

最满意答案

PerformanceProgressBar

对于Windows Phone 7,由于内置ProgressBar长期性能问题,建议您使用WP Toolkit中的 PerformanceProgressBar

<toolkit:PerformanceProgressBar IsIndeterminate="True"></toolkit:PerformanceProgressBar>

IsIndeterminate用于打开和关闭控件。 如果将Visibility设置为Visibility.Collapsed ,则控件仍在运行并使用CPU时间,这很糟糕。

SystemTray + ProgressBar

Windows Phone 7.1(7.5或Mango)中引入的另一个选项是将ProgressBar添加到SystemTray (内置本机应用程序使用此技术),以下链接应该是有用的...

http://www.jeff.wilcox.name/2011/07/creating-a-global-progressindicator-experience-using-the-windows-phone-7-1-sdk-beta-2/

http://blog.duc.as/2011/10/08/using-the-system-tray-to-show-progress-in-windows-phone-7-mango/

http://xamlgeek.net/2012/10/30/using-the-progressindicator-in-the-systemtray-in-windows-phone/

PerformanceProgressBar

For Windows Phone 7, it is recommended that you use PerformanceProgressBar from the WP Toolkit due to long standing performance issues with the built-in ProgressBar

<toolkit:PerformanceProgressBar IsIndeterminate="True"></toolkit:PerformanceProgressBar>

IsIndeterminate is used to turn the control on and off. If you set Visibility to Visibility.Collapsed, the control is still running and using CPU time, which is bad.

SystemTray + ProgressBar

Another option introduced in Windows Phone 7.1 (7.5 or Mango), is to add the ProgressBar to the SystemTray(the built-in native apps use this technique), the following links should be useful...

http://www.jeff.wilcox.name/2011/07/creating-a-global-progressindicator-experience-using-the-windows-phone-7-1-sdk-beta-2/

http://blog.duc.as/2011/10/08/using-the-system-tray-to-show-progress-in-windows-phone-7-mango/

http://xamlgeek.net/2012/10/30/using-the-progressindicator-in-the-systemtray-in-windows-phone/

更多推荐

进度,Progress,使用,page,电脑培训,计算机培训,IT培训"/> <meta name="descripti

本文发布于:2023-07-19 16:56:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1183570.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   进度条   页面   Windows   Phone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!