Select to view content in your preferred language

How to change the color in the background of controls:InfoButton to black on darkmode

392
1
01-10-2024 11:26 AM
AtilaBK
Emerging Contributor

I am trying to use the infoButton to create a "tooltip" for the TextBlock on my ProWindow but the foreground on the infoButton keep white when I access in darkmode, how do I turn the background black:

<controls:InfoButton x:Name="Info" Header="{Binding InfoHeader}"
Description="{Binding InfoText}" Style="{DynamicResource InfoButtonStyle}"
Background="{DynamicResource Info_Button_Brush_Text}"/>

Background="{DynamicResource Info_Button_Brush_Text}" --> that only changes the color of the information ico

What is happening:

AtilaBK_0-1704914282183.png

What I want:

AtilaBK_1-1704914342945.png

Any idea? @UmaHarano @Wolf 

1 Reply
UmaHarano
Esri Regular Contributor

I see this issue also. Thanks for reporting this. I will post an update when this gets addressed.

 

Thanks!

Uma