Change Color of Separators on Toolbar

Bars for Windows Forms Forum

Posted 4 years 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 4 years ago]

Comments (2)

Posted 4 years 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 4 years ago by Danish Sachwani

Thanks a lot... that worked!!

[Modified 4 years ago]

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.