Why do ToolTips not honor the Theme?

1 Answer 52 Views
ToolTip
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Joe asked on 24 Mar 2023, 07:31 PM
I customized my WPF app's Windows8Touch theme with a compete palette of colors -- that is I set up the Windows8TouchPalette at startup before the main windows shows.  In my palette, the background is dark and the foreground is light. 

I've had it this way for years and it works quite well.  But the whenever I set the RadToolTipService.ToolTipContent property on  any control using just a string, I get a white background fpr tje text.  So I am forced to specifically create a full UI for it or use the ToolTipContentTemplate.   It looks like the default settings for that do not honor my colors

Is there some Telerik-specific control type that I can set a default style for that will fix this issue?  Kinda like how I can style `RadAlert` or `RadPrompt` for those dialogs?

(Note that I am using the binaries with XAML in them so I use the StyleManager to theme things, if that matters.  Where I feel the need I copy the Telerik styles out of your XAML files for my theme and customize them. )

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 29 Mar 2023, 08:49 AM

Hello Joe,

To apply Telerik theming in the tooltip, you can use the RadToolTipContentView control in the tooltip content. See more about this in the ToolTip Theming article.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ToolTip
Asked by
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or