2012-11-13 19 views
0

因此,我试图在我的WP7 Panorama应用中使用进度条。 有一个页面,也就是从网络downloadidng数据,所以我想表明我的应用程序是做一些与进度WP7中ProgressBar的怪异行为

<controls:PanoramaItem Header="news"> 
      <Popup Name="myWeatherPopup" IsOpen="False" Width="404" Height="Auto" Margin="0,136,4,293"> 
       <StackPanel> 

        <ProgressBar Height="Auto" IsIndeterminate="True" Width="400" /> 
        <TextBlock Text="Loading" HorizontalAlignment="Center" Foreground="Gray" /> 

       </StackPanel> 
      </Popup> 
     </controls:PanoramaItem> 

它基本的工作原理,因为它应该。但是,有一个微小的(和anoying的bug)。 点的第一个...运行(?)出现在每个全景项目上,位于标题下方。之后,它在新闻项目下恢复其正常位置。

同样的事情发生在仿真器和的Lumia 800

Image

回答

0

你试过没有弹出,通过只设置上的StackPanel Visibility属性?

+0

是的,它的工作。我不喜欢这个概念,但它工作:) –