Switching MaterialLight or MaterialDark crashes the application

Hi,

i have some problems using the Themes created by Theme Studio.

To demonstrate i have attached a small application.

1. Please use your copy of MaterialDark and MaterialLight and insert it as a reference.
2. The application starts with Office2016Gray
3. Select MaterialLight or MaterialDark and you will see some nice "Bably Blue" screen, i assume it is some Office Blue theme, but it doesn't reflect Light or Dark
4. Now unselect "ApplyStyleOnApplication"
5. Change now e.g. Office2016Gray and then back to MaterialLight or MaterialDark
6. Application crashes with: 
    System.Windows.Markup.XamlParseException: ''{DependencyProperty.UnsetValue}' is not a valid value for property 'Background'.'


Another problem is if you want to use MaterialLight or MaterialDark as default theme in the xaml.
i.e. skin:SfSkinManager.VisualStyle="MaterialDark"   in MainWindow.xaml.

This throws a:  InvalidOperationException: 'RibbonWindow' TargetType does not match type of element 'MainWindow'.

thanks for looking into this,

Helmut

Attachment: ThemeTest_bfb1237.zip

3 Replies

AI Anirudhan Iyyappan Syncfusion Team May 26, 2020 12:36 PM UTC

Hi Helmut,  
 
Thanks for contacting Syncfusion support.  
 
We have checked your query and it has already been logged as defect. The fix for this issue will be included in Volume 2 release which will roll out by end of June, 2020. Can you wait until official release ? Otherwise if you are using Syncfusion release version , we will provide you patch in that version on June 5,2020. So please share us your current version and refer the below feedback for same.  
 
 
Note: Patch will not be provided for weekly NuGet versions.  
 
Regards,  
Anirudhan 



HW Helmut Wahrmann May 26, 2020 09:17 PM UTC

Hi Anirudhan,

Thanks for the response.
i am on .52, but still developing. so i can wait for the upgrade.
no need to waste time and efforts to produce a patch.

thx,

Helmut


AI Anirudhan Iyyappan Syncfusion Team May 27, 2020 04:59 AM UTC

Hi Helmut, 

Thanks for your update. 

We will let you know once our Volume 2 is rolled out. 

Regards, 
Anirudhan 


Loader.
Up arrow icon