SfSkinManager not working as expected when setting theme

Hi,


I'm having an issues with SfSkinManager using version 25.1.38 that I need help with (it's possible that I'm doing something wrong)

  • Applying theme before InitializeComponent is not working for me
  • Changing theme palette is not working 100%
    • I have 2 combo boxes that I use to change theme and palette. When changing only palette combo box palette color will not change until I change theme too.

I also have one question: Is there a way to automatically set theme for window? I tried using SfSkinManager

.ApplyStylesOnApplication = true; but it's probably not how that works.


I have included source core from my app (without license key) and also added google drive link for a video to demonstrate the issue.

Video link: https://drive.google.com/file/d/112_U0YOoR_ZWAeFiEUmLNjKU2IW5k4Rr/view?usp=sharing


I would appreciate any help with this.


Thank you

Adrian


Attachment: ProjectIdeas.WPF.Copy_b5d2c85e.zip

3 Replies 1 reply marked as answer

SN Sudharsan Narayanan Syncfusion Team April 10, 2024 02:24 PM UTC

Hi Adrian,


We have checked the reported issue from our end. We have prepared a sample to achieve your requirements, where the theme will be set on window launch and the palette will work properly. Please refer to the sample below.


If we misunderstood the query, please modify our sample and revert to us with a reproducible issue or video. This will help prompt the solution further.


Regards,

Sudharsan


Attachment: ThemePaletteSample_5c6dd8b9.zip

Marked as answer

AV Adrian Visnovsky replied to Sudharsan Narayanan April 28, 2024 10:27 PM UTC

Thank you!



SN Sudharsan Narayanan Syncfusion Team April 29, 2024 05:24 AM UTC

Hi Adrian,

We are glad that the provided response meets your requirement. Please let us know if you need further assistance. As always, we are happy to help you out. 

Regards,
Sudharsan


Loader.
Up arrow icon