NodeShape.OnChildConfiguring Method
Configures the port on the shape when the shape is being 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 OnChildConfiguring ( _
child As ShapeElement, _
createdDuringViewFixup As Boolean _
)
protected override void OnChildConfiguring(
ShapeElement child,
bool createdDuringViewFixup
)
protected:
virtual void OnChildConfiguring(
ShapeElement^ child,
bool createdDuringViewFixup
) override
abstract OnChildConfiguring :
child:ShapeElement *
createdDuringViewFixup:bool -> unit
override OnChildConfiguring :
child:ShapeElement *
createdDuringViewFixup:bool -> unit
protected override function OnChildConfiguring(
child : ShapeElement,
createdDuringViewFixup : boolean
)
Parameters
- child
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The port that is assigned to the shape.
- 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.