次の方法で共有


NodeShape.OnBoundsFixup(BoundsFixupState, Int32, Boolean) Method

Definition

Allows last opportunity for bounds to be userFixed during view and diagram fixup. Base implementation just applies the currently set BoundsRules on this shape. You can override this method to apply other specific bounds fixup as well.

public:
 override void OnBoundsFixup(Microsoft::VisualStudio::Modeling::Diagrams::BoundsFixupState fixupState, int iteration, bool createdDuringViewFixup);
public override void OnBoundsFixup (Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupState fixupState, int iteration, bool createdDuringViewFixup);
override this.OnBoundsFixup : Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupState * int * bool -> unit
Public Overrides 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