Category / Section
How to update layout automatically when collection is change in WinRT Diagram?
1 min read
We have provided automatic Layout refresh when the Nodes or Connectors collection is changed or assigned. Layout can be refreshed using RefreshFrequency property of LayoutManager. We have provided code example and sample to represent this. Please refer to the sample and code example as below.
C#:
diagram.LayoutManager.RefreshFrequency = RefreshFrequency.ArrangeParsing; //Here, diagram is the instance of SfDiagram.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/151389/ze/RefreshLayout-1664152605