Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > Derive from RadRibbonBar

Answered Derive from RadRibbonBar

Feed from this thread
  • David avatar

    Posted on Jan 10, 2012 (permalink)

    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

    Reply

  • Answer Stefan Stefan admin's avatar

    Posted on Jan 12, 2012 (permalink)

    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).

    Reply

  • David avatar

    Posted on Jan 12, 2012 (permalink)

    Thanks

    Fixed my issue :D

    Reply

  • Stefan Stefan admin's avatar

    Posted on Jan 17, 2012 (permalink)

    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).

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Ribbonbar > Derive from RadRibbonBar
Related resources for "Derive from RadRibbonBar"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]