Diagram.CanShapeContainConnectors(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.