Share via


ConnectorDecorator.Position Property

Gets 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)

Syntax

'Declaration
Public Property Position As ConnectorDecoratorPosition
public ConnectorDecoratorPosition Position { get; set; }
public:
property ConnectorDecoratorPosition Position {
    ConnectorDecoratorPosition get ();
    void set (ConnectorDecoratorPosition value);
}
member Position : ConnectorDecoratorPosition with get, set
function get Position () : ConnectorDecoratorPosition 
function set Position (value : ConnectorDecoratorPosition)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ConnectorDecoratorPosition

Remarks

Changing the position of the decorator does not automatically cause the diagram to update. RepositionHostShape must be called after the change, for all host shapes hosting this decorator.

.NET Framework Security

See Also

Reference

ConnectorDecorator Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace