Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructs a new decorator.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
- field 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField- ShapeField corresponding to this decorator. 
- offset 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD- Offset for position adjustment. 
- canMove 
 Type: System.Boolean- Whether this decorator can be moved. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.