Virtualization in UWP Diagram (SfDiagram)
8 Nov 2019 / 1 minute to read
Virtualization is the process of loading the diagramming objects available in the visible area of the Diagram control, that is, only the diagramming objects that lie within the ViewPort of the ScrollViewer are loaded (remaining objects are loaded only when they come into view).
This feature gives optimized performance while loading and dragging items to the SfDiagram that consists of many Nodes and Line Connectors.
The following code example illustrates how to enable Virtualization in SfDiagram
sfdiagram.Constraints = sfdiagram.Constraints | GraphConstraints.Virtualize;
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page