Wednesday, March 2, 2011

Style the Ribbon

The Building Coder shows some fun coding trix to put color and style to the Ribbon in AutoCAD and Revit.

Using the AdWindows.dll assembly, we can access the ribbon control like this:

using Autodesk.Windows;

RibbonControl ribbon = ComponentManager.Ribbon;

As seen below the panel background image, panel headers, tab header font and more can be changed.

No comments:

Post a Comment