Hi,
I am using the following code for progressbar, but when I'm resizing it it clips the progressbar when I reduce the size, but when I'm increasing the size it stretches fine according to the window size but on reducing the size it does not resize itself according to the parent reduced size but instead clips itself.
Please let me know what I am doing wrong in the code, I have to use these colors in my progressbar.
Thanks,
Tayyaba Naz
<
telerik:RadProgressBar
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Stretch"
Margin
=
"30"
Value
=
"10"
Minimum
=
"1"
Maximum
=
"10"
>
<
telerik:RadProgressBar.Foreground
>
<
LinearGradientBrush
StartPoint
=
"0, 0.5"
EndPoint
=
"1, 0.5"
>
<
GradientStop
Color
=
"Yellow"
Offset
=
"0.3"
/>
<
GradientStop
Color
=
"Green"
Offset
=
"0.3"
/>
<
GradientStop
Color
=
"Green"
Offset
=
"0.6"
/>
<
GradientStop
Color
=
"Red"
Offset
=
"0.6"
/>
<
GradientStop
Color
=
"Red"
Offset
=
"0.8"
/>
<
GradientStop
Color
=
"Blue"
Offset
=
"0.8"
/>
<
GradientStop
Color
=
"Blue"
Offset
=
"0.9"
/>
<!--<GradientStop Color="Blue" Offset="1"/>-->
</
LinearGradientBrush
>
</
telerik:RadProgressBar.Foreground
>
</
telerik:RadProgressBar
>