我在(僞)splashpage上使用Silverlight工具箱中的PerformanceProgressBar。但是,它只顯示一個移動點。哪裏不對?PerformanceProgressBar只顯示一個點
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid x:Name="ActiveSplash" Height="Auto" Width="480" Background="Pink" Grid.Row="1" Visibility="Visible">
<Image Name="SplashScreenImage" Source="/SplashScreenImage.jpg"></Image>
<toolkit:PerformanceProgressBar Width="480" Height="Auto"
IsIndeterminate="True"
Foreground="Blue"
Background="Blue"
Margin="0,104,0,0" />
</Grid>
<Grid x:Name="ContentPanel" Visibility="Collapsed" Grid.Row="2">
<!-- stuff -->
</Grid>
</Grid>
你試過設置HorizontalAlignment來伸展嗎? – 2012-08-09 06:48:26
是的。它沒有幫助。 – Esa 2012-08-09 07:51:45
這是發生在設計師還是當你運行應用程序? – 2012-08-09 07:57:02