Looks like there's a bug in SfSkinmanager. SetVisualStyle

I cannot call SetVisualStyles method inSfSkinManager. On the design side XAML sill apprears, but when runnug program, they return back to default interf


1 Reply

EM Elakkiya Muthukumarasamy Syncfusion Team October 15, 2021 12:29 PM UTC

Hi Hoang 
 
Greetings from Syncfusion. 
 
We have checked your query and we recommended to use Theme attached property of the SfSkinManager to apply the theme. For latest theme(like Fluent theme) we need to provide some addition APIs support. We could not achieve this requirement in VisualStyle enum property. So we introduced Theme attached property .Still, you can able to apply the theme by using visual style property and only we disable the browse option of VisualStyle. Please refer the sample and screen shot for the same. 
 
 
Output: 
 
 
 
Please refer the help documentation link for apply the theme by using Theme property, 
 
 
Please try it with the above solution and let us know if you need any further assistance on this. 
 
Regards, 
Elakkiya 


Loader.
Up arrow icon