How to change the background color of ToolWindow's Title Bar

Docking/MDI for WPF Forum

Posted 12 years ago by Danang Wahyuadi
Version: 11.2.0552


How can I change the background color of ToolWindow's Title Bar?

Previously I was able to do that by changing the property for example "TitleBarBackgroundActive" of a ToolWindowContainer. But in the newer version many properties related to title bar has been removed.


Comments (1)

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

Hi Danang,

Those properties were only exposed to support dynamic theme switching in previous versions. With the latest version we have revamped our theming system to use shared assets (i.e. brushes) across all our products and simplied the Styles greatly.

In this specific example, you would need to redefine the assocated brush like so:

<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.DockingWindowContainerTitleBarBackgroundActiveBrushKey}" Color="Red" />

Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.