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

Derive from RadRibbonBar

3 Answers 18 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 10 Jan 2012, 11:05 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 12 Jan 2012, 10:09 AM
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).

0
David
Top achievements
Rank 2
answered on 12 Jan 2012, 11:30 AM
Thanks

Fixed my issue :D
0
Stefan
Telerik team
answered on 17 Jan 2012, 10:13 AM
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).

Tags
RibbonBar
Asked by
David
Top achievements
Rank 2
Answers by
Stefan
Telerik team
David
Top achievements
Rank 2
Share this question
or