LinkDecorator Class

 

Base LinkDecorator class which allows other derived classes to implement actual different geometries for decorators. This class also provides static accessors for the different type of decorators that exist as part of the core design surface.

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


[SerializableAttribute]
public ref class LinkDecorator abstract 

NameDescription
System_CAPS_protmethodLinkDecorator()

Default constructor does nothing.

NameDescription
System_CAPS_pubpropertyBrushId

Gets the BrushId used to draw the decorator background.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorDoubleEmptyArrow

Gets the single instance of the double empty arrow decorator.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorEmptyArrow

Gets the single instance of the empty arrow decorator.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorEmptyDiamond

Gets the single instance of the empty diamond decorator.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorFilledArrow

Gets the single instance of the filled arrow decorator.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorFilledDiamond

Gets the single instance of the filled diamond decorator.

System_CAPS_pubpropertySystem_CAPS_staticDecoratorHollowArrow

Gets the single instance of the hollow arrow decorator.

System_CAPS_pubpropertyDecoratorPath

get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately.

System_CAPS_protpropertyFillDecorator

System_CAPS_pubpropertyPenId

Gets the PenId used to draw the outline.

NameDescription
System_CAPS_pubmethodDoPaintShape(RectangleD, IGeometryHost^, DiagramPaintEventArgs^)

Paints the LinkDecorator on a LinkShape based on the bounds that it's given. The default drawing code gets the Path for the decorator and draws and fills it based on the LinkDecorator's PenId and BrushId.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetPath(RectangleD)

Returns the GraphicsPath for this LinkDecorator based on the bounding box passed in.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: