is there a way to have the RadProgressbarElement show a gradient that only uses part of the defined color range depending on the actual progress (eg. at 50% only BackColor1->BackColor2, at 75% BackColor1->BackColor3, at 100% BackColor1->BackColor4)?
Kind regards,
Andreas
3 Answers, 1 is accepted
0
Dimitar
Telerik team
answered on 13 Nov 2015, 02:18 PM
Hi Andreas,
Thank you for writing.
You can simulate this behavior by changing the ProgressOrientation and setting the progress bar background:
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
this works. Due to the "hackish" nature of this approach one has to "invert" the setter (i.e. you have to set the control to 25 if you want it to show 75) and progress indicators, but this is managable.
Thanks!
0
Dimitar
Telerik team
answered on 16 Nov 2015, 01:09 PM
Hello Andreas,
This is necessary because the gradient is filling the entire visible part of the element and there is no other way to show only part of it.
Do not hesitate to contact us if you have other questions.
Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items