This is a migrated thread and some comments may be shown as answers.

Change Status Strip Color

1 Answer 258 Views
StatusStrip
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 20 Mar 2013, 12:41 PM
I am using a RadRibbonForm with the Visual Studio 2012 Light theme and I would like to change the color of the status strip when my program is doing some long running calculations (like Visual Studio 2012).  I have tried multiple settings and cannot seem to find the correct setting to change the color of the status strip in code.

1 Answer, 1 is accepted

Sort by
0
Accepted
Anton
Telerik team
answered on 22 Mar 2013, 02:45 PM
Hi Randy,

Thank you for writing.

You can change the color of status strip through its FillPrimitive element. For example:
FillPrimitive fill = radStatusStrip1.StatusBarElement.Children[1] as FillPrimitive;
if (fill != null)
{
    fill.BackColor = Color.Red;
}

I hope this helps.

Regards,
Anton
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
StatusStrip
Asked by
Randy
Top achievements
Rank 1
Answers by
Anton
Telerik team
Share this question
or