Tooltip should adapt to dark mode?

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 2 years ago by Ethem Acar
Version: 22.1.1

Why does the tooltip not adapt to dark mode like the rest of the ui?

Comments (1)

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


We match the design of apps like Visual Studio, VS Code, and Office.  All of those apps use light backgrounds for tooltips in dark themes.

You can always override the Brushes our themes generate if you wish.  The Resource Browser tab in our Theme Browser app lets you see all the generated resources like Brushes.  If you filter by "tooltip" you can see Brush keys like ToolTipBackgroundNormalBrushKey and can override them in your Application.Resources if you wish:

<SolidColorBrush x:Key="{x:Static themes:AssetResourceKeys.ToolTipBackgroundNormalBrushKey}" 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.