Cannot style SfSlider tooltip

Hi there,

I'm using v28.2.5 of the controls and I'm having trouble styling the tooltip of the SfSlider. Specifically, although I CAN set the TextColor, StrokeThickness and Padding properties, I CANNOT seem to set the Stroke or Fill properties – everything stays in MAUI purple, making styling virtually impossible. 

Am I doing something wrong? Here's a XAML snippet which demonstrates the issue.

<sliders:SfSlider.Tooltip>
<sliders:SliderTooltip
Fill="HotPink"
ShowAlways="True"
TextColor="White"
StrokeThickness="2"
Stroke="BlanchedAlmond"
Padding="10,8" />
</sliders:SfSlider.Tooltip>


Thanks in advance for your assistance.


3 Replies

KP Kamalesh Periyasamy Syncfusion Team February 21, 2025 12:01 PM UTC

Hi Phil, 


Thank you for reaching out. We have tested your provided XAML snippet in a simple sample across all platforms using MAUI v9.0.40. In our testing, the Fill and Stroke properties of the SfSlider Tooltip worked as expected.  


For your reference, we have attached the tested sample along with output images demonstrating the expected behavior across all platforms.
 
 
To assist you further, could you please provide more details regarding your implementation? If possible, sharing a simple issue-reproducible sample would help us investigate the issue more effectively and provide a precise resolution.

Looking forward to your response. 


Regards, 

Kamalesh P 


Attachment: TestedFiles_264c64e3.zip


PH Phil Hopkins February 25, 2025 02:56 PM UTC

HI Kamalesh,

Thanks for the sample - it was helpful to ensure that everything was working. This had me puzzled for a while until I discovered that in our app.xaml we were setting an explicit VisualTheme in the SyncfusionThemeResourceDictionary which was overriding the local properties.


By following the instructions at https://help.syncfusion.com/maui/themes/themes#overriding-the-control-specific-keys we now have this working.


Many thanks for your prompt and helpful reply.

Phil



PR Preethi Rajakandham Syncfusion Team February 26, 2025 05:00 AM UTC

Hi Phil,

Thank you for the update. 

We are glad to know that the reported problem has been resolved. Please let us know if you require any further assistance on this. We will be happy to assist you.

Regards,

Preethi R


Loader.
Up arrow icon