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

RibbonControl border

1 Answer 115 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Lamees Afify
Top achievements
Rank 1
Lamees Afify asked on 18 Mar 2008, 05:30 PM
Hey,      
          How can I set a border color to the Ribbon Control. I want to change the color of the Ribbon Control Border or the style of it's border to give it some thickness or another color to distinguish which form is active now.
Is there anyway to do that?
Thank you

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 21 Mar 2008, 06:11 PM
Hi Lamees Afify,

You cannot change the color of RadRibbonBar control, because it has no BorderPrimitive. However, if you want to distinguish which form is active at the moment, inherit your form from the ShapedForm class. This will allow you to change the border color and width of the whole form. If you want to see the border above the RadRibbonBar, you should also set appropriate Padding to the form.

I have attached a sample showing the above steps. The properties are set programmatically for your reference, but you can set them in the property grid as well.
 

Greetings,
Nikolay
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
RibbonBar
Asked by
Lamees Afify
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or