RibbonControl border

2 posts, 0 answers
  1. Lamees Afify
    Lamees Afify avatar
    10 posts
    Member since:
    Mar 2008

    Posted 18 Mar 2008 Link to this post

    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
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 21 Mar 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top