Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool ValidityChecks { get; set; } |
Visual Basic Copy Code |
---|
Public Property ValidityChecks As Boolean |
true to perform validity checks; otherwise, false. The default is true.
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.