MindFusion.Wpf Pack Programmer's Guide
Diagram.ValidityChecks Property
See Also
 





Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram.

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

 Syntax

C#  Copy Code

public bool ValidityChecks { get; set; }

Visual Basic  Copy Code

Public Property ValidityChecks As Boolean

 Property Value

true to perform validity checks; otherwise, false. The default is true.

 Remarks

If enabled, validity checks are performed each time an item is added to the diagram. That involves enumerating the Items collection and can slow up the process considerably for large diagrams. You can disable this property in order to skip the validity checks, however be sure that you don't add an item twice to the diagram and that links are created only between items in the same diagram.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
Factory.CreateShapeNode Method
Factory.CreateDiagramLink Method