Jaime Rodriguez On Windows Phone, Windows Presentation Foundation, Silverlight and Windows 7
In my last post, I teased that system tray in Mango is now customizable and data binding friendly On top of that, the SystemTray now has a ProgressIndicator that you can use to replace your PerformantProgressBar and display progress on async operations.
Here is everything you need to know (or everything I know) about ProgressIndicator. It is a DependencyObject so you can data bind to it.. You can use these properties to customize and manage the indicator:
A few small quirks and tips :
The screenshot to the right shows you all of SystemTray’s properties in action. It has a white foreground and green background with 60% opacity, indeterminate progress indicator and (obviously) custom text in the indicator. You can turn everything on and off to see the impact as you tweak each property. It is all data bound; there is no manual setting of any properties. I am running on light theme with orange highlight. You can get the source from my skydrive.
Happy Windows Phone “Mango” coding.
Awesome stuff Jaime. I love seeing features like this bringing third-party apps closer to the native experience. Please keep the quick-hit posts like this coming :)