Diagram::ShouldAddShapeForElement Method (ModelElement^)
Visual Studio 2015
Verifies whether a shape can have a child shape assigned to it.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- element
-
Type:
Microsoft.VisualStudio.Modeling::ModelElement^
The shape to check.
Return Value
Type: System::Booleantrue if the shape can have the child shape added to it; otherwise, false.
This method is called when a user drags a shape onto another shape or copies and pastes a shape onto another shape.
Show: