The normal backcolor of the button is given by a FillPrimitive which is using a Gradient, so that's the reason why you cannot just change the background color of the button.
To change this, you have to get the FillPrimitive and using the GradientStyle property you can change the type of gradient (Gel, Glass, etc.), and the color to use.
Keep in mind, applying a BackColor like that will override any setting to the BackColor coming from a theme, and also it will cause the OnHover state to be less visible.
Hope this helps, if you have any other questions or comments, please let me know,
Could you show us that code in VB please? For a Q3 button.
0
Stefan
Telerik team
answered on 22 Dec 2011, 06:13 PM
Hi Don,
Thank you for writing.
Since Q3 2011, RadToolStrip control is no longer part of our suite, since it has been replaced by RadCommandBar. However, I assume that you need the code in VB to use it for RadButtonElements in other places, so here is it: