Decorator.ConfigureHostShape Method

Creates a host shape or configures an existing host shape.

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

Syntax

'Declaration
Public Overridable Function ConfigureHostShape ( _
    parent As ShapeElement _
) As DecoratorHostShape
public virtual DecoratorHostShape ConfigureHostShape(
    ShapeElement parent
)
public:
virtual DecoratorHostShape^ ConfigureHostShape(
    ShapeElement^ parent
)
abstract ConfigureHostShape : 
        parent:ShapeElement -> DecoratorHostShape  
override ConfigureHostShape : 
        parent:ShapeElement -> DecoratorHostShape
public function ConfigureHostShape(
    parent : ShapeElement
) : DecoratorHostShape

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DecoratorHostShape
The new or updated host shape.

Remarks

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.

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace