运行效果:
进度条样式:
<!--进度条样式-->
<LinearGradientBrush x:Key="ProgressBar.Progress" StartPoint="0,-0.15" EndPoint="0.04,0.04" SpreadMethod="Reflect">
<GradientStop Color="Transparent" Offset="0.5"/>
<GradientStop Color="#0530A0" Offset="0.5"/>
</LinearGradientBrush>
<SolidColorBrush x:Key="ProgressBar.Background" Color="#06276E"/>
<Style x:Key="ProgressBarStyle" TargetType="{x:Type ProgressBar}">