ShapeDecorator Constructor (ShapeField, ShapeDecoratorPosition, Boolean)

 

Construct a new ShapeDecorator.

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

public ShapeDecorator(
	ShapeField field,
	ShapeDecoratorPosition position,
	bool canMove
)

Parameters

field
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField

ShapeField used by the decorator.

position
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition

Decorator position.

canMove
Type: System.Boolean

Whether this decorator can be moved.

Return to top
Show: