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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Protected Overrides Sub OnChildConfigured ( _
child As ShapeElement, _
childWasPlaced As Boolean, _
createdDuringViewFixup As Boolean _
)
'Usage
Dim child As ShapeElement
Dim childWasPlaced As Boolean
Dim createdDuringViewFixup As Boolean
Me.OnChildConfigured(child, childWasPlaced, _
createdDuringViewFixup)
protected override void OnChildConfigured(
ShapeElement child,
bool childWasPlaced,
bool createdDuringViewFixup
)
protected:
virtual void OnChildConfigured(
ShapeElement^ child,
bool childWasPlaced,
bool createdDuringViewFixup
) override
protected override function OnChildConfigured(
child : ShapeElement,
childWasPlaced : boolean,
createdDuringViewFixup : boolean
)
Parameters
child
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe port that is assigned to the shape.
childWasPlaced
Type: System.Booleantrue to indicate that the port was assigned to the shape; otherwise, false.
createdDuringViewFixup
Type: System.Booleantrue to indicate that the port was created when the view was fixed up; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.