ShapeDecorator.ConfigureHostShape(ShapeElement) Method

Definition

Configures a host shape for use with this decorator.
If the given parent does not have a host shape for this decorator, a new one will be created. If a host shape already exists, settings for this decorator will be re-applied to the existing host shape; a new host shape will not be created.

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::DecoratorHostShape ^ ConfigureHostShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parent);
public override Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape ConfigureHostShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parent);
override this.ConfigureHostShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
Public Overrides Function ConfigureHostShape (parent As ShapeElement) As DecoratorHostShape

Parameters

parent
ShapeElement

Returns

Applies to