Search
DiagramView.EnableVirtualization Property
See Also
 





Gets or sets a value indicating whether UI virtualization is enabled.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool EnableVirtualization { get; set; }

Visual Basic  Copy Code

Public Property EnableVirtualization As Boolean

 Property Value

true to enable virtualization, or false otherwise. The default value is true.

 Remarks

In order to keep the WPF visual tree smaller, DiagramView creates UI presenters only for diagram items inside current viewport. New presenters are created while users scroll the view to display content of newly visible diagram area. For dense diagrams, where the view has to create more than several hundreds of presenters per scroll operation, you could set EnableVirtualization to false to prevent scroll lag, at the cost of longer up-front time to create presenters for all items.

 See Also