This topic has not yet been rated - Rate this topic

NodeShape.OnBoundsFixup Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public override void OnBoundsFixup(
	BoundsFixupState fixupState,
	int iteration,
	bool createdDuringViewFixup
)

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ