Change Color of Separators on Toolbar

Bars for Windows Forms Forum

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

Comments (2)

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

Thanks a lot... that worked!!

[Modified 5 years ago]

The latest build of this product (v24.1.1) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.