I tried the examples of diagram,and I found that when I set the Opacity Property of a shape,and save the diagram to a xml,the Opacity Property did't saved to the xml file，so when I open the xml in diagram, the Opacity Property of the shape was 100%.
How to solve this bug?
2 Answers, 1 is accepted
answered on 10 Oct 2016, 09:52 AM
By default RadDiagram saves only a predefined set of properties. The Opacity property of the shapes is not one of them. In order to serialize/deserialize the opacity or any other property not presented in the list you will need to do it manually via the ShapeSerialized and ShapeDeserialized events of the diagram. You can see how to do this in the Serialization help article.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.