Partager via


BinaryLinkShapeBase.SetDecorators Method (LinkDecorator, LinkDecorator, Boolean)

Set the decorators for the connector.

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

Syntax

'Declaration
Protected Sub SetDecorators ( _
    newFromDecorator As LinkDecorator, _
    newToDecorator As LinkDecorator, _
    invalidate As Boolean _
)
protected void SetDecorators(
    LinkDecorator newFromDecorator,
    LinkDecorator newToDecorator,
    bool invalidate
)
protected:
void SetDecorators(
    LinkDecorator^ newFromDecorator, 
    LinkDecorator^ newToDecorator, 
    bool invalidate
)
member SetDecorators : 
        newFromDecorator:LinkDecorator * 
        newToDecorator:LinkDecorator * 
        invalidate:bool -> unit
protected function SetDecorators(
    newFromDecorator : LinkDecorator, 
    newToDecorator : LinkDecorator, 
    invalidate : boolean
)

Parameters

  • invalidate
    Type: System.Boolean

    Repaint the connector and its immediate surroundings.

.NET Framework Security

See Also

Reference

BinaryLinkShapeBase Class

SetDecorators Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace

DecoratorFrom

DecoratorTo