Diagram.CanShapeContainConnectors(ShapeElement) Method

Definition

Method used to check if a shape can host a connector. Normally, this would only be the Diagram or a Swimlane, but this behavior can be overridden by the diagram.

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

Parameters

parentCandidate
ShapeElement

Element to test if it can host a connector

Returns

True if parentCandidate is a type that can host a connector, false otherwise.

Applies to