We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

2 Questions: sfskinmanager vs skinstorage and

Thread ID:

Created:

Updated:

Platform:

Replies:

150873 Jan 22,2020 04:39 PM UTC Jan 23,2020 12:25 PM UTC WPF 1
loading
Tags: SfSkinManager
Tom
Asked On January 22, 2020 04:44 PM UTC

2 small questions

1 - this link talks about the difference between skinstorage and sfskinmanager
but is it ok to use them at the same time, as the skinstorage enables you to set the MetroBrush which the skinmanager doesnt?

2 - I wanted to style individual controls, the top two lines below work, but not the last one for the Saffron theme .. is there a different syntax that needs to be used?



thanks

Gokul Sainarayanan [Syncfusion]
Replied On January 23, 2020 12:25 PM UTC

Hi Tom,

Thank you for contacting Syncfusion support.

Query 1: But is it ok to use them at the same time, as the skinstorage enables you to set the MetroBrush which the skinmanager doesnt?

We have checked your reported query and we can apply theme from SkinStorage and SfSkinManager at the same time but for different controls respectively. We do not recommend setting SkinStorage and SfSkinManager for the same control at the same time as it will lead to UI rendering issues as both the styles will get conflict. Please find the sample in the following location in which we have set themes using SkinStorage for certain controls and SfSkinManager for other controls.

Sample: https://www.syncfusion.com/downloads/support/forum/150873/ze/SkinStorage_SfSkinManagerDemo1-958310186  

Query 2: I wanted to style individual controls, the top two lines below work, but not the last one for the Saffron theme .. is there a different syntax that needs to be used?

Can you please let us know which lines of code are you referring here? Similar to other SfSkinManager themes, we can apply Saffron theme using the below code.

Code snippet C# :

 
SfSkinManager.SetVisualStyle(button2, VisualStyles.Saffron); 
 



Code snippet XAML:

 
skin:SfSkinManager.VisualStyle="Saffron" 
 



Please let us know if you have any further queries.

Regards,
Gokul S

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon