What is the BackColor of a ToolStrip control

I have put a ToolStrip control onto my form, it's colour is a nicely shaded light blue at the top to a darker blue at the bottom.

At run time if I inspect the BackColor property it is:
 "{Name=Control, ARGB=(255, 236, 233, 216)}" which for my XP Theme is a gray colour.

Now if I change the color to say Color.Blue then I lose the shading a get a solid blue BackColor.
If I try to revert the BackColor to it's original value the ToolStrip is a flat plain grey with no shading.

How do I change the color of the ToolStrip control and keep the color gradient of the control?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wayne Taylor (webtubbs)Commented:
Hi openshac,

The BackColor of the Toolstrip control accepts flat colors only. To set the BackColor to it's original state, set the BackColor to Color.Empty....

    toolStrip1.BaclColor = Color.Empty;

To apply a Gradient to the Toolstrip, you'll need handle the Paint event....

     private void ToolStrip1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
         System.Drawing.Drawing2D.LinearGradientBrush lgb = new System.Drawing.Drawing2D.LinearGradientBrush(e.ClipRectangle, Color.Blue, Color.LightBlue, System.Drawing.Drawing2D.LinearGradientMode.Vertical);
         e.Graphics.FillRectangle(lgb, e.ClipRectangle);



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
openshacAuthor Commented:
Great answer.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.