,我在xaml中设置了ForgroundColor:
<ProgressBar x:Name="pbTotal2" Margin="5,0,0,0" Foreground="#008BCA" VerticalAlignment="Center" Height="24" Width="800" ></ProgressBar>
答案 0 :(得分:0)
两个进度条之间的区别不仅仅是它是整个风格的前景色,所以你必须自己编写你想要的风格,请看这些页面:
https://msdn.microsoft.com/en-us/library/dd334413(v=vs.95).aspx
https://msdn.microsoft.com/en-us/library/ms750638(v=vs.110).aspx