Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

  • childWasPlaced
    Type: Boolean

    true to indicate that the child shape was positioned; otherwise, false.

  • createdDuringViewFixup
    Type: 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

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace