Share via


Diagram.ShouldExcludeFromInvalidationTracking(ShapeElement) Method

Definition

Calculates whether or not specific types of shapes should be excluded from the invalidation tracking for the diagram.

The base implementation excludes Diagrams and SwimLanes.

public:
 virtual bool ShouldExcludeFromInvalidationTracking(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public virtual bool ShouldExcludeFromInvalidationTracking (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
abstract member ShouldExcludeFromInvalidationTracking : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
override this.ShouldExcludeFromInvalidationTracking : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> bool
Public Overridable Function ShouldExcludeFromInvalidationTracking (shape As ShapeElement) As Boolean

Parameters

shape
ShapeElement

shape to check

Returns

true means exclude it from the tracking; false don't exclude it.

Applies to