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

Subscribe to the comments feed

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner