Derive from RadRibbonBar

4 posts, 1 answers
  1. David
    David  avatar
    66 posts
    Member since:
    Aug 2010

    Posted 10 Jan 2012 Link to this post

    Hi,

    I have created a class that derives from the RadRibbonBar so that i can create the elements on the bar in code and create an instance of the bar to apply them to my Form.

    public class SappsRibbonBar : RadRibbonBar
    {
       public void CreateSappsRibbonBar(MenuType MenuType)
       {
          BuildFromDB(MenuType);
       }
    }

    this builds the bar ok but there seems to be no theme attached to the bar. is there something i'm missing?

    thanks
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 12 Jan 2012 Link to this post

    Hi David,

    Thank you for writing.

    Please refer to the following KB article, which explains how to enable theming for you custom control: http://www.telerik.com/support/kb/winforms/themes/inherit-themes-from-radcontrols.aspx.

    I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
     
    Regards,
    Stefan
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

  3. UI for WinForms is Visual Studio 2017 Ready
  4. David
    David  avatar
    66 posts
    Member since:
    Aug 2010

    Posted 12 Jan 2012 Link to this post

    Thanks

    Fixed my issue :D
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 17 Jan 2012 Link to this post

    You are very welcome. Feel free to contact us if you have any other questions.

    Kind regards,
    Stefan
    the Telerik team

    SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Back to Top