Diagram::CanShapeContainConnectors Method (ShapeElement^)

 

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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual bool CanShapeContainConnectors(
	ShapeElement^ parentCandidate
)

Parameters

parentCandidate
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

Element to test if it can host a connector

Return Value

Type: System::Boolean

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

Return to top
Show: