Category / Section
How to update layout automatically when collection is changed in WPF Diagram (SfDiagram)?
1 min read
WPF Diagram (SfDiagram) provides 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.
C#
diagramControl.LayoutManager.RefreshFrequency = RefreshFrequency.ArrangeParsing;