windown phone ProgressBar 的使用
时间:2014-07-22 22:43:35
收藏:0
阅读:295
<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 控件以两种样式之一直观地指示较长操作的进度。
|
评论(0)