ShapeElement.OnChildConfigured Method
Called when the positions and sizes of child shapes are about to be determined. Override to set specialized rules.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Protected Overridable Sub OnChildConfigured ( _
child As ShapeElement, _
childWasPlaced As Boolean, _
createdDuringViewFixup As Boolean _
)
protected virtual void OnChildConfigured(
ShapeElement child,
bool childWasPlaced,
bool createdDuringViewFixup
)
protected:
virtual void OnChildConfigured(
ShapeElement^ child,
bool childWasPlaced,
bool createdDuringViewFixup
)
abstract OnChildConfigured :
child:ShapeElement *
childWasPlaced:bool *
createdDuringViewFixup:bool -> unit
override OnChildConfigured :
child:ShapeElement *
childWasPlaced:bool *
createdDuringViewFixup:bool -> unit
protected function OnChildConfigured(
child : ShapeElement,
childWasPlaced : boolean,
createdDuringViewFixup : boolean
)
Parameters
- child
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The child shape.
- childWasPlaced
Type: System.Boolean
true to indicate that the child shape was positioned; otherwise, false.
- createdDuringViewFixup
Type: System.Boolean
true to indicate that a child shape was created when the elements in the view were adjusted; otherwise, false.
Remarks
Default behavior is to redirect the call to the current Diagram.
.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.