NodeShape::OnBoundsFixup Method (BoundsFixupState, Int32, Boolean)

 

Override this method to customize how the bounds for the shape are determined.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual void OnBoundsFixup(
	BoundsFixupState fixupState,
	int iteration,
	bool createdDuringViewFixup
) override

Parameters

fixupState
Type: Microsoft.VisualStudio.Modeling.Diagrams::BoundsFixupState

The state of the bounds.

iteration
Type: System::Int32

The iteration count, used to avoid infinite loops.

createdDuringViewFixup
Type: System::Boolean

true if a child shape was created when the view was fixed up; otherwise, false.

The base method applies the BoundsRules to adjust the AbsoluteBounds.

Return to top
Show: