BinaryLinkShapeBase.SetDecorators Method (LinkDecorator, SizeD, LinkDecorator, SizeD, Boolean)

Set the decorators for the connector.

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

Syntax

声明
Protected Sub SetDecorators ( _
    newFromDecorator As LinkDecorator, _
    newFromDecoratorSize As SizeD, _
    newToDecorator As LinkDecorator, _
    newToDecoratorSize As SizeD, _
    invalidate As Boolean _
)
protected void SetDecorators(
    LinkDecorator newFromDecorator,
    SizeD newFromDecoratorSize,
    LinkDecorator newToDecorator,
    SizeD newToDecoratorSize,
    bool invalidate
)
protected:
void SetDecorators(
    LinkDecorator^ newFromDecorator, 
    SizeD newFromDecoratorSize, 
    LinkDecorator^ newToDecorator, 
    SizeD newToDecoratorSize, 
    bool invalidate
)
member SetDecorators : 
        newFromDecorator:LinkDecorator * 
        newFromDecoratorSize:SizeD * 
        newToDecorator:LinkDecorator * 
        newToDecoratorSize:SizeD * 
        invalidate:bool -> unit 
protected function SetDecorators(
    newFromDecorator : LinkDecorator, 
    newFromDecoratorSize : SizeD, 
    newToDecorator : LinkDecorator, 
    newToDecoratorSize : SizeD, 
    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