Decorator::ConfigureHostShape Method (ShapeElement^)

 

Creates a host shape or configures an existing host shape.

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

public:
virtual DecoratorHostShape^ ConfigureHostShape(
	ShapeElement^ parent
)

Parameters

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

The shape to which the host shape will be assigned.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::DecoratorHostShape^

The new or updated host shape.

If the shape to which the decorator is assigned does not have a host shape, one is created. If a host shape already exists, the settings for the decorator are applied to the existing host shape.

Return to top
Show: