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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
Public Property Position As ShapeDecoratorPosition
Get
Set
public ShapeDecoratorPosition Position { get; set; }
public:
property ShapeDecoratorPosition Position {
ShapeDecoratorPosition get ();
void set (ShapeDecoratorPosition value);
}
member Position : ShapeDecoratorPosition with get, set
function get Position () : ShapeDecoratorPosition
function set Position (value : ShapeDecoratorPosition)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeDecoratorPosition
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.
.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.