Condividi tramite


ShapeDecorator.Position Property

Definition

Gets or sets the position of this decorator relative to the parent shape.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition Position { Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::ShapeDecoratorPosition value); };
public Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition Position { get; set; }
member this.Position : Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition with get, set
Public Property Position As ShapeDecoratorPosition

Property Value

Remarks

Changing the position of the decorator does not automatically cause the diagram to update. If the decorator exists inside the shape, all shapes using the decorator must be invalidated after the change. If the decorator exists outside the shape, ConfigureHostShape and RepositionHostShape must be called for all host shapes hosting this decorator.

Applies to