DataGrid Cell Style Error

Hi,
when trying to change the Background Color based on some Values i get an strange Error.
This is my Code:




The Error i get is: "TargetType 'GridCell' is not from Type 'GridCell'"
Any Ideas from Someone ?
Many Thanks
Tom

1 Reply 1 reply marked as answer

AR Arulpriya Ramalingam Syncfusion Team June 14, 2020 11:32 PM UTC

Hi Tom, 
 
Thank you for contacting Syncfusion support. 
 
The reported issue that the GridCell target type mismatch is occurred due to ambiguous type reference between Syncfusion.UI.Xaml.Grid.GridCell and Syncfusion.Grid.GridCell. This can be avoided by specifying the namespace for GridCell in different assemblies. We already provided a knowledge base document to resolve this issue at our end and please make use of the below KB link. 
 
 
Regards, 
Arulpriya 


Marked as answer
Loader.
Up arrow icon