共用方式為


ConnectorDecorator.Position Property

Definition

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

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

Property Value

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.

Applies to