Colors for tool window title bar/doc window tab

Docking/MDI for Windows Forms Forum

Posted 16 years ago by rebecca
Version: 2.0.99

Is there a way to set the color of the title bar background and/or text of a tool window? Also, is there a way to set the color of the tab on a document window? I need to be able to set these separately for each window.


Comments (1)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA

Yes you can set title bar background/foreground colors on the dock renderer implementations. DockManager.RendererResolved will return the current global renderer, and you can cast it to the type that is currently in use to change props.

Alternatively you can also inherit one of our renderers like VisualStudio2005DockRenderer and override methods like DrawDockContainerTitleBarBackground to draw different containers differently if you wish. Then use that renderer instead.

Unfortunately there isn't a way right now to give individual tabs different background colors, however you could override the renderer methods that draw the tab background and do it there in a custom renderer, similar to what is described above.

Actipro Software Support

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.