Partager via


NodeShape.OnChildConfigured Method

Configures a port on the shape after the shape is added to the diagram.

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

Syntax

'Déclaration
Protected Overrides Sub OnChildConfigured ( _
    child As ShapeElement, _
    childWasPlaced As Boolean, _
    createdDuringViewFixup As Boolean _
)
protected override void OnChildConfigured(
    ShapeElement child,
    bool childWasPlaced,
    bool createdDuringViewFixup
)
protected:
virtual void OnChildConfigured(
    ShapeElement^ child, 
    bool childWasPlaced, 
    bool createdDuringViewFixup
) override
abstract OnChildConfigured : 
        child:ShapeElement * 
        childWasPlaced:bool * 
        createdDuringViewFixup:bool -> unit 
override OnChildConfigured : 
        child:ShapeElement * 
        childWasPlaced:bool * 
        createdDuringViewFixup:bool -> unit 
protected override function OnChildConfigured(
    child : ShapeElement, 
    childWasPlaced : boolean, 
    createdDuringViewFixup : boolean
)

Parameters

  • childWasPlaced
    Type: System.Boolean
    true to indicate that the port was assigned to the shape; otherwise, false.
  • createdDuringViewFixup
    Type: System.Boolean
    true to indicate that the port was created when the view was fixed up; otherwise, false.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

FixUpChildShapes