Completed
Last Updated: 12 Nov 2020 11:45 by ADMIN
Release R1 2021 (LIB 2020.3.1116)
Marian
Created on: 03 Nov 2020 14:06
Category: Diagram, DiagramRibbonBar, DiagramToolBox
Type: Bug Report
0
RadDiagram: LoadLayout gets slower and slower after clearing all the items

Run the attached sample project, paste the path to the TestTemplates folder in the text box and click Start. You will notice the that the illustrated time in the labels gets bigger and bigger.

Workaround: this is not a complete solution but is reduces the load time:

radDiagram1.Clear(); 
            radDiagram1.DiagramElement.FindDescendant<Telerik.WinControls.UI.Diagrams.Primitives.BackgroundPageGrid>().FindDescendant<Telerik.WinControls.UI.Diagrams.Canvas>().Children.Clear();
radDiagram1.Clear(); 
            radDiagram1.DiagramElement.FindDescendant<Telerik.WinControls.UI.Diagrams.Primitives.BackgroundPageGrid>().FindDescendant<Telerik.WinControls.UI.Diagrams.Canvas>().Children.Clear();
		
0 comments