ShapeElement.CreateChildShape(ModelElement) 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.
Called by ShapeElement.FixUpChildShapes() to retrieve a new instance of a child shape for the given model element.
protected:
virtual Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ CreateChildShape(Microsoft::VisualStudio::Modeling::ModelElement ^ element);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement CreateChildShape (Microsoft.VisualStudio.Modeling.ModelElement element);
abstract member CreateChildShape : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
override this.CreateChildShape : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Protected Overridable Function CreateChildShape (element As ModelElement) As ShapeElement
Parameters
- element
- ModelElement
Returns
Remarks
Default behavior is to redirect the call to the current Diagram.