Windows 8 Phone Performance Indicator

Do I need to use the performance indicator panel on a Windows 8 phone. In my 7/7 application for Windows 7, I used the progress indicator that came with the toolkit (performance progress panel). Do I need to use the same thing in a Windows 8th phone or a fairly simple progress bar?

+7
source share
3 answers

The WP8 SDK has an improved progress bar. So use only this one. The TK version does not work properly on WP8.

See here the changes for the SDK, including the progress bar proposal: http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206940%28v=vs.105%29.aspx

See a discussion of this topic here: http://social.msdn.microsoft.com/Forums/en-GB/wpdevelop/thread/dd457734-a11a-48e2-8443-ba8f5e3f67ac

+11
source

Use the WP8 SDK progress bar, but remember to set IsIndeterminate = false after minimizing the progress bar. It will run in the background and use battery and UI thread cycles, even if it crashes !: (

+2
source

I think you should use something like this when targeting WP7 and WP8 with related files:

#if WP8 public class MyPerformanceProgressBar : ProgressBar { } #else public class MyPerformanceProgressBar : Microsoft.Phone.Controls.PerformanceProgressBar { } #endif 

and use the MyPerformanceProgressBar class in the XAML code (which is MyPerformanceProgressBar in WP7 and WP8 projects).

+1
source

All Articles