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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Property Position As ConnectorDecoratorPosition
Get
Set
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
- 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.