Change Color of Separators on Toolbar

Bars for Windows Forms Forum

The latest build of this product (v2020.1 build 0400) was released 3 months ago, which was before this thread was created.
Posted 16 days ago by Danish Sachwani
Version: 13.1.0400
Platform: .NET 4.7
Environment: Windows 10 (64-bit)


I cant seem to find a way to change colors of these lines. is there a way to do so?

Screen Shot

[Modified 15 days ago]

Comments (2)

Posted 15 days ago by Actipro Software Support - Cleveland, OH, USA


It looks like those particular lines come from the system colors and there isn't a way to override them via properties at the moment.  A workaround is to override the bar renderer's DrawDockableToolBarBackground or DrawToolBarBackground, and DrawToolBarSeparator methods to render a different color on top of them.

We will add three new properties to the VisualStudio2002BarRenderer class to support altering those for the next maintenance release.

Actipro Software Support

Posted 15 days ago by Danish Sachwani

Thanks a lot... that worked!!

[Modified 15 days ago]

Add Comment

Please log in to a validated account to post comments.