Z-ordering not saved

Hello!

Use standart sample with ribbon (getting started)


I add node to diagramm - it become topmost

i send node to back with ribbon) and save to file. (before)

i open file - ordering not saved, node is topmost 


Thw same occurs with background (see before | after)


Attachment: not_saved_3d3b69d6.zip

15 Replies 1 reply marked as answer

KR Karkuvel Rajan Shanmugavel Syncfusion Team October 19, 2021 12:25 PM UTC

HI Anton, 
 
Reported Issue: Z-Order is not getting serialized properly. 
 
We are able to reproduce the reported issue with the provided details. We will fix this issue and include the fix in our upcoming weekly nuget release. Please follow the details in the below feedback link. 
 
 
Regards, 
Karkuvel Rajan S 



AN Anton October 19, 2021 12:48 PM UTC

And what about background color? If i can change with ribbon, why it's not saved?

Or ribbon generates new style dynamicly?



KR Karkuvel Rajan Shanmugavel Syncfusion Team October 20, 2021 10:29 AM UTC

Hi Anton, 
 
Reported Issue: Diagram background color not getting serialized. 
 
SfDiagram’s Background property is an Framework property. So we won’t serialize that property from our side. So, we need to implement a custom property to serialize the background color value and then deserialize the same while loading. We have prepared a simple sample to achieve your requirement. Please find the sample in below link. 
 
Link :  https://www.syncfusion.com/downloads/support/forum/169732/ze/Background_Serialization-1672002675                                                                                       
 
Regards, 
Karkuvel Rajan S 



AN Anton October 20, 2021 12:19 PM UTC

So i think i will be right to remove functions from ribbon, that  are not saved to file to prevent misunderstandings



KR Karkuvel Rajan Shanmugavel Syncfusion Team October 20, 2021 04:36 PM UTC

Hi Anton, 
 
We need to know whether you have used our SfDiagramRibbon Control or any other Ribbon with Diagram-related functionalities. It will help us to provide the proper solution to your requirement. Because in our SfDiagramRibbon control, we have used the PageBackground property only not the Background property to set the background color. Please confirm whether you have used our SfDiagramRibbon Control or not. 
 
Regards, 
Karkuvel Rajan S 



AN Anton October 21, 2021 01:37 PM UTC

I have used SfDiagramRibbon Control



KR Karkuvel Rajan Shanmugavel Syncfusion Team October 22, 2021 07:06 AM UTC

Hi Anton, 
 
Requirement: Need to serialize the PageBackground through our SfDiagramRibbon. 
 
Thanks for the update. You have mentioned that you have used our SfDiagramRibbon only. In our SfDiagramRibbon we have used PageBackground property only and also it has serialization support in default. We have provided the support for PageBackground serialization from 19.2.0.44 version. Please use the latest version of Syncfusion assemblies to achieve your requirement. 
 
Regards, 
Karkuvel Rajan S 



AN Anton replied to Karkuvel Rajan Shanmugavel October 23, 2021 05:56 AM UTC

Hello, look at the picture, i am telling about background of node!


It's not supported as i understood.



KR Karkuvel Rajan Shanmugavel Syncfusion Team October 25, 2021 07:27 AM UTC

Hi Anton, 
 
Sorry for the inconvenience caused. 
 
Requirement: Need to serialize Node background. 
 
We have used ShapeStyle property to change the background color of the Node in our SfDiagramRibbon control. In SfDiagram, 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. Please follow the below sample link to know more about how to serialize the node background. 
 
 
Regards, 
Karkuvel Rajan S 



KR Karkuvel Rajan Shanmugavel Syncfusion Team October 26, 2021 02:48 PM UTC

Hi Anton, 
 
Reported Issue: Z-Order is not getting serialized properly. 
 
We are glad to announce that our weekly package is released successfully. We have included the fix for the reported issue in this weekly release. Please upgrade to our latest version(19.3.0.47).   
  
 
Regards, 
Karkuvel Rajan S 



AN Anton replied to Karkuvel Rajan Shanmugavel November 5, 2021 05:17 AM UTC

Hello!

If so why ribbon provides features, that cannot be saved and than restored?


It is confusing from my point of view.



DT Deepa Thiruppathy Syncfusion Team November 6, 2021 07:57 AM UTC

Hi Anton,  
  
Requirement: Need to serialize Node background directly.  
 
  
We have used ShapeStyle property to change the background color of the Node in our SfDiagramRibbon control. In SfDiagram, you cannot serialize Content, ContentTemplate, Shape, and ShapeStyle of each and every diagramming objects directly. 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.  
 
We will validate this issue that serialize Node background color directly and will provide the details on 08.11.2021.  
  
Regards,  
Deepa Thiruppathy 



DT Deepa Thiruppathy Syncfusion Team November 9, 2021 03:47 PM UTC

Hi Anton, 
 
Requirement: Need to serialize Node background color directly.  
 
ShapeStyle is Style type of property which is not the type of data contact serializer and it cannot be serialize directly.  
 
Please follow the below link to know more about types supported by serializer, 
 
 
We are validating this requirement as feature to include in our internal source. We will update the feature validation details on 11.11.2021.  
 
Regards, 
Deepa Thiruppathy 



DT Deepa Thiruppathy Syncfusion Team November 12, 2021 01:36 PM UTC

Hi Anton,  
 
  
Requirement : Need to serialize Node background color directly. 
 
  
We have analyzed your requirement and we have logged the feature report for the same. The feature will be available in our upcoming volume 4 main release which will be released in the month of December 2021. Please find the below feedback link to know more about the status of the feature, 
 
  
 
  
We appreciate your patience until then. 
 
Regards, 
 
Deepa Thiruppathy 


Marked as answer

DT Deepa Thiruppathy Syncfusion Team December 20, 2021 02:38 PM UTC

Hi Anton,  


Requirement : Need to serialize Node background color directly.


We are glad to announce that our Essential Studio 2021 Volume 4 release v19.4.0.38  is rolled out and is available for download under the following link.


https://www.syncfusion.com/forums/171304/essential-studio-2021-volume-4-main-release-v19-4-0-38-is-available-for-download


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Feedback link: https://www.syncfusion.com/feedback/30339/support-to-serialize-the-shapestyle-properties-of-diagram-objects


Regards,

Deepa Thiruppathy 


Loader.
Up arrow icon