Customize colors from code behind

Does anyone know how to customize the colors of the SfKanban Cards?
I know that I could use a customized in XAML but is there a (cheaper) way to just customize the cards colors from code behind at runtime?

3 Replies

RA Rachel A Syncfusion Team December 15, 2017 04:58 AM UTC

Hi Wolfgang, 

Thanks for contacting Syncfusion Support. 

We can achieve your requirement by setting Background property in CardStyle class as in the below code example. 

[C#] 

Kanban.CardStyle.Background = new SolidColorBrush(Colors.OldLace); 


Please refer the below documentation to know more about card customization. 

Regards, 
Rachel. A 




WB Wolfgang Brucker December 18, 2017 01:32 PM UTC

thx a lot!


RA Rachel A Syncfusion Team December 19, 2017 03:52 AM UTC

Hi Wolfgang,  

Thanks for the update. 

Please let us know if you have any queries. 

Thanks, 
Rachel. A 


Loader.
Up arrow icon