This topic has not yet been rated - Rate this topic

Diagram.ShouldExcludeFromInvalidationTracking Method

Verifies whether specific shape types should be excluded from invalidation.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual bool ShouldExcludeFromInvalidationTracking(
	ShapeElement shape
)

Parameters

shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape to check.

Return Value

Type: System.Boolean
true if the shape type should be excluded from invalidation; otherwise false.

By default, the diagram and swimlane shapes are excluded.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ