Question

I'm using Jeff Wilcox's solution for a global progress indicator. All hooked up simple and is working great except for a panorama page I have. The problem is that the Progress Indicator is not visible at all and it's only on this one page.

All of my calls that go through my data service are using the same wrapper that sets IsLoading = true so I've verified this is working. I've also added a Thread.Sleep in there to make sure the call wasn't just returning too quickly before setting IsLoading = false.

Is there anything different about a panorama control that would hide it? I was setting the background to an image, but I pulled that and made sure the main layout grid background was set to transparent just in case.

Is there anything else that should be set in xaml to make sure this is visible?

*Please note this is not the old PerformanceProgressBar control

Was it helpful?

Solution

Yes, there is something in the XAML, and you might kick yourself if you don't have it set (happened to me several times) check this property:

<phone:PhoneApplicationPage
 xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
 xmlns:SystemTray.IsVisible="True">

Also make sure that your progress bar actually has room to display. Progress bar takes 32 pixels off the top, so generally speaking you want your content to occupy only 768 pixels in height.

I believe that by default when you create a Panorama page using visual studio, the height is set to 800, and SystemTray.IsVisible is set to false.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top