windown phone ProgressBar 的使用,windownprogressbar
windown phone ProgressBar 的使用,windownprogressbar
<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
去 Microsoft Community(微软社区)提问,是官网的。
做WP开发的太少了
MSDN上说windowsXP以上版本不能改:
“注意:
在 Windows XP Home Edition、Windows XP Professional、Windows Server 2003 以及更高版本上启用视觉样式时,对 ProgressBar 的 ForeColor 和 BackColor 更改将不起作用。”
至于怎么编程实现我也不会……似乎需要自己写控件。
相关文章
- 暂无相关文章
用户评论