Hello,
I am using a lot of Rad buttons in my application. I change the back color of the buttons based on some conditions the following code:
.ButtonFillElement.BackColor = Color.LightGreen;
.ButtonFillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
.ForeColor = Color.Black;
My questions is how do i set these properties back to the default ones within code. I want the buttons to get the default theme of the application when the condition turns false.
Thanks,
Pawan
I am using a lot of Rad buttons in my application. I change the back color of the buttons based on some conditions the following code:
.ButtonFillElement.BackColor = Color.LightGreen;
.ButtonFillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
.ForeColor = Color.Black;
My questions is how do i set these properties back to the default ones within code. I want the buttons to get the default theme of the application when the condition turns false.
Thanks,
Pawan