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
'宣言
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
- child
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The port that is assigned to the shape.
- 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
- 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.