<StackPanel x:Name="LayoutRoot" Background="White"> <Border BorderThickness="5" BorderBrush="Black"><StackPanel Background="LightGray"> <TextBlock HorizontalAlignment="Center" Margin="10" Text="Value-Based Progress Bar" /> <ProgressBar x:Name="pg1" Value="100" Margin="10" Maximum="200" Height="15"IsIndeterminate="False" /> </StackPanel> </Border> <Border BorderThickness="5" BorderBrush="Black"><StackPanel Background="LightGray"> <TextBlock HorizontalAlignment="Center" Margin="10"Text="Indeterminate Progress Bar" /> <ProgressBar x:Name="pg2" Margin="10" Height="15"IsIndeterminate="True" /> </StackPanel> </Border> </StackPanel>
ProgressBar 控件以两种样式之一直观地指示较长操作的进度。
|
详细说明:http://wp.662p.com/thread-7978-1-1.html
windown phone ProgressBar 的使用,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/lianweikj02/p/3860020.html