Change Color of Separators on Toolbar

Bars for Windows Forms Forum

Posted 9 months ago by Danish Sachwani
Version: 13.1.0400
Platform: .NET 4.7
Environment: Windows 10 (64-bit)
Avatar

Hi

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

Screen Shot

[Modified 9 months ago]

Comments (2)

Posted 9 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

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 9 months ago by Danish Sachwani
Avatar

Thanks a lot... that worked!!

[Modified 9 months ago]

The latest build of this product (v2020.1 build 0403) was released 8 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.