Decorator::Offset Property

 

Gets or sets the offset that modifies the default position of the decorator.

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

public:
property PointD Offset {
	PointD get();
	void set(PointD value);
}

Changing the decorator offset 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: