I would like to apply a style, to a ProgressBar, for when it between certain values the style should change.
<Style x:Key="ProBar" TargetType="{x:Type ProgressBar}">
<Style.Triggers>
<Trigger Property="Value" Value="<10">
<Setter Property="Foreground">
<Setter.Value>
<!--OrangeColour-->
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFFFFFFF" Offset="0" />
<GradientStop Color="#FFFDDF97" Offset="0.992" />
<GradientStop Color="#FFF7DCAB" Offset="0.02" />
<GradientStop Color="#FFFFDC9E" Offset="0.5" />
<GradientStop Color="#FFFDA564" Offset="0.513" />
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Trigger>
</Style.Triggers>
</Style>
Is it possible to do this in any way?