Share via


ShapeDecorator Constructor (ShapeField, ShapeDecoratorPosition, Boolean)

Construct a new ShapeDecorator.

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 Sub New ( _
    field As ShapeField, _
    position As ShapeDecoratorPosition, _
    canMove As Boolean _
)
public ShapeDecorator(
    ShapeField field,
    ShapeDecoratorPosition position,
    bool canMove
)
public:
ShapeDecorator(
    ShapeField^ field, 
    ShapeDecoratorPosition position, 
    bool canMove
)
new : 
        field:ShapeField * 
        position:ShapeDecoratorPosition * 
        canMove:bool -> ShapeDecorator
public function ShapeDecorator(
    field : ShapeField, 
    position : ShapeDecoratorPosition, 
    canMove : boolean
)

Parameters

  • canMove
    Type: Boolean

    Whether this decorator can be moved.

.NET Framework Security

See Also

Reference

ShapeDecorator Class

ShapeDecorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace