System color

I have difficulties in changing the fill color of shapes using the background style dialog. Even if I change color, the style dialog doesnt update the color on the diagram.  Is there an easy way to use system color to change the color of connectors and shapes at runtime?

3 Replies

NG Naganathan Ganesh Babu Syncfusion Team January 31, 2018 08:46 AM UTC

Hi Allen 
Thanks for contacting Syncfusion support. 
 In diagram control, the diagram’s FillStyleDialog does not update the node’s color in diagram by default. However, we have created the color pickers form in application level and update node’s colors at runtime to achieve your requirement. please refer to the below attached sample and video. 
Sample: 
Video: 
Regards, 
Naganathan K G 
 



AL Allen February 1, 2018 08:41 AM UTC

Thanks Naganathan,
The system color doesnt lunch from my code but the sample you sent shows well. I will check that


NG Naganathan Ganesh Babu Syncfusion Team February 2, 2018 04:43 AM UTC

Hi Allen,

Thanks for your update.
 

We are happy to hear that the provided solution has resolved your problem. Please let us know if you need any further assistance.

Regards,
 

Naganathan K G
 
 


Loader.
Up arrow icon