Black Ribbon
How to give a black theme to the Ribbon.
I've been asked several times for a black theme for the Ribbon Project.
Although this was already planned for the next release, I decided to give the hint.
In order to get a black themed ribbon, you should this:
- Download available code
- Download attachment to this article BlackRibbon.zip
- Replace files found on the zip to the original article's
After adding the files, apply the following code on form's initialization:
///
/// Form's constructor
///
public Form1()
{
InitializeComponent();
//Apply black renderer to ribbon1
(ribbon1.Renderer as RibbonProfessionalRenderer).ColorTable =
new RibbonProfessionalRendererColorTableBlack();
}
And that's it.
Enjoy!