ShapeElement::ShouldAddShapeForElement Method (ModelElement^)

 

Determines whether a shape should be created to represent a given domain class instance on the diagram.

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

protected:
virtual bool ShouldAddShapeForElement(
	ModelElement^ element
)

Parameters

element
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The domain class instance.

Return Value

Type: System::Boolean

true if the domain class instance should be represented with a shape element; otherwise, false.

For more information, see FixUpChildShapes.

Return to top
Show: