Compartir a través de


ShapeElement.OnChildConfigured(ShapeElement, Boolean, Boolean) Method

Definition

Called by ShapeElement.FixUpChildShapes() to allow this ShapeElement to post-configure its specified child ShapeElement. After OnChildConfiguring() is called, the new child shape is positioned at its drop target location (if applicable). This is called next, regardless of whether the child shape was positioned or not.

protected:
 virtual void OnChildConfigured(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ child, bool childWasPlaced, bool createdDuringViewFixup);
protected virtual void OnChildConfigured (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement child, bool childWasPlaced, bool createdDuringViewFixup);
abstract member OnChildConfigured : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * bool * bool -> unit
override this.OnChildConfigured : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * bool * bool -> unit
Protected Overridable Sub OnChildConfigured (child As ShapeElement, childWasPlaced As Boolean, createdDuringViewFixup As Boolean)

Parameters

child
ShapeElement

Newly added child shape.

childWasPlaced
Boolean

True if the child shape was placed at a drop location, false otherwise.

createdDuringViewFixup
Boolean

True if the child shape was created by the view fixup process (via a call to CreateChildShape), false otherwise.

Remarks

Default behavior is to redirect the call to the current Diagram.

Applies to