Hi Anton,
Requirement: Need to change the background color of the basic shapes.
Sorry for the inconvenience caused.
We have tried to achieve your requirement with the default nodes. But when tried with default we have faced problem in serializing the Shapestyle and to display the background color in the PropertyGrid.
- In our SfDiagram control, you cannot serialize Content, ContentTemplate, Shape, and ShapeStyle of each and every diagramming objects. If you want to preserve the ShapeStyle and ContentTemplate of diagramming objects, keep them in resources and apply once the diagramming objects are added to the Diagram page. To get the resource name we have to implement the custom properties in custom class derived from any of our SfDiagram’s interface.
- In PropertyGrid, while selecting node it will show only the properties of the item based on its type. When we use default node then it will not show the background color in colorpicker. It will show only the Shapestyle resource.
So, we have insist you to use the custom node to achieve your requirement.
Regards,
Karkuvel Rajan S