Share via


Decorator Constructor (ShapeField, PointD, Boolean)

Constructs a new decorator.

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

Syntax

'Declaration
Protected Sub New ( _
    field As ShapeField, _
    offset As PointD, _
    canMove As Boolean _
)
protected Decorator(
    ShapeField field,
    PointD offset,
    bool canMove
)
protected:
Decorator(
    ShapeField^ field, 
    PointD offset, 
    bool canMove
)
new : 
        field:ShapeField * 
        offset:PointD * 
        canMove:bool -> Decorator
protected function Decorator(
    field : ShapeField, 
    offset : PointD, 
    canMove : boolean
)

Parameters

  • canMove
    Type: Boolean

    Whether this decorator can be moved.

.NET Framework Security

See Also

Reference

Decorator Class

Decorator Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace