Share via


ShapeElement.OnBoundsFixup(BoundsFixupState, Int32, Boolean) Method

Definition

Allows last opportunity for bounds to be userFixed during view and diagram fixup. You can override this method to apply any specific bounds fixup changes you want to apply.

public:
 virtual void OnBoundsFixup(Microsoft::VisualStudio::Modeling::Diagrams::BoundsFixupState fixupState, int iteration, bool createdDuringViewFixup);
public virtual void OnBoundsFixup (Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupState fixupState, int iteration, bool createdDuringViewFixup);
abstract member OnBoundsFixup : Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupState * int * bool -> unit
override this.OnBoundsFixup : Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupState * int * bool -> unit
Public Overridable Sub OnBoundsFixup (fixupState As BoundsFixupState, iteration As Integer, createdDuringViewFixup As Boolean)

Parameters

fixupState
BoundsFixupState

specifies when OnBoundsFixup is being called.

iteration
Int32

iteration through the diagram fixup loop for parent resize and shape anchoring.

createdDuringViewFixup
Boolean

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

Applies to