ShapeDecorator::Position Property

 

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

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

public:
property ShapeDecoratorPosition Position {
	ShapeDecoratorPosition get();
	void set(ShapeDecoratorPosition value);
}

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.

Return to top
Show: