ConnectorDecorator Class

 

Class to encapsulate the way ShapeFields and child Shapes are used to represent Notation Decorators when they are placed on a Connector

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

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::Decorator
    Microsoft.VisualStudio.Modeling.Diagrams::ConnectorDecorator

public ref class ConnectorDecorator : Decorator

NameDescription
System_CAPS_pubpropertyCanMove

Whether this decorator can be moved. A decorator can be moved only if it is instantiated as moveable and also requires a host.(Inherited from Decorator.)

System_CAPS_protpropertyDecoratorAnchorMargins

Gets the margin around the field. The decorator can attach itself to the field in this area.(Inherited from Decorator.)

System_CAPS_pubpropertyField

Gets the field to which the decorator is assigned.(Inherited from Decorator.)

System_CAPS_pubpropertyOffset

Gets or sets the offset that modifies the default position of the decorator.(Inherited from Decorator.)

System_CAPS_pubpropertyPosition

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

System_CAPS_pubpropertyRequiresHost

All connector decorators require a host.(Overrides Decorator::RequiresHost.)

NameDescription
System_CAPS_pubmethodAssociateValueWith(Store^, AssociatedPropertyInfo^)

Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.)

System_CAPS_pubmethodAssociateValueWith(Store^, Guid)

Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.)

System_CAPS_pubmethodAssociateValueWith(Store^, Guid, AssociatedPropertyInfo^)

Associates the decorator with a store property that is assigned to the shape.(Inherited from Decorator.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, AssociatedPropertyInfo^)

Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, Guid)

Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.)

System_CAPS_pubmethodAssociateVisibilityWith(Store^, Guid, AssociatedPropertyInfo^)

Associates the visibility of the decorator with a store property that is assigned to a shape.(Inherited from Decorator.)

System_CAPS_pubmethodConfigureHostShape(ShapeElement^)

Configures a host shape for use with this decorator. If the given parent does not have a host shape for this decorator, a new one will be created. If a host shape already exists, settings for this decorator will be re-applied to the existing host shape; a new host shape will not be created.(Overrides Decorator::ConfigureHostShape(ShapeElement^).)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetHostShape(ShapeElement^)

Gets the host shape.(Inherited from Decorator.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValue(ShapeElement^)

Gets the association between the decorator and a shape.(Inherited from Decorator.)

System_CAPS_pubmethodGetVisible(ShapeElement^)

Gets the visibility of the decorator that is assigned to a shape.(Inherited from Decorator.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnAfterOffsetChanged()

Enables derived classes to modify the decorator after the offset has changed.(Inherited from Decorator.)

System_CAPS_pubmethodRepositionHostShape(DecoratorHostShape^)

Repositions the given host shape based on the position of the connector.(Overrides Decorator::RepositionHostShape(DecoratorHostShape^).)

System_CAPS_pubmethodSetValue(ShapeElement^, Object^)

Sets the association with the decoration and a shape.(Inherited from Decorator.)

System_CAPS_pubmethodSetVisible(ShapeElement^, Object^)

Sets the visibility of a decorator that is assigned to a shape.(Inherited from Decorator.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdateDecoratorHostShapes(ModelElement^)

Updates the bounds for the host shapes.(Inherited from Decorator.)

System_CAPS_pubmethodUpdateDecoratorHostShapes(ModelElement^, Guid)

Updates the bounds for the host shapes.(Inherited from Decorator.)

System_CAPS_pubmethodUpdateHostShapeVisibility(DecoratorHostShape^)

Updates the visibility of the host shape.(Inherited from Decorator.)

All Decorators on connectors require host shapes

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: