Partilhar via


ShapeElement.OnChildConfiguring(ShapeElement, Boolean) Method

Definition

Called by ShapeElement.FixUpChildShapes() to allow this ShapeElement to pre-configure its specified child ShapeElement. This is called immediately after the shape becomes a child of this ShapeElement, but before the shape has been positioned on the target shape.

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

Parameters

child
ShapeElement

newly added child shape.

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