Hi Morten,
Thanks for using Syncfusion Product.
If you want to set the background colour based on the bound value in XAML, you can use the conditional formatting in which you can set the style for the cells of a particular column based on bound value. You can also apply the background as you requested, in code behind in Model.QueryCellInfo
event handler.
Please find a sample on this in the following location.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GridControl1-1918222015.zip For conditional formatting, already there is an example in our Dash board for this. Please refer the sample in the location.
Sample : $Installation directory\EssentialStudio\
\WPF\Grid.WPF\Samples\3.5\WindowsSamples\Grid Data Control - Advanced\Conditional Formatting Demo\CS
Thanks,
Sridharan S.