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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides Sub OnBoundsFixup ( _
fixupState As BoundsFixupState, _
iteration As Integer, _
createdDuringViewFixup As Boolean _
)
public override void OnBoundsFixup(
BoundsFixupState fixupState,
int iteration,
bool createdDuringViewFixup
)
public:
virtual void OnBoundsFixup(
BoundsFixupState fixupState,
int iteration,
bool createdDuringViewFixup
) override
abstract OnBoundsFixup :
fixupState:BoundsFixupState *
iteration:int *
createdDuringViewFixup:bool -> unit
override OnBoundsFixup :
fixupState:BoundsFixupState *
iteration:int *
createdDuringViewFixup:bool -> unit
public override function OnBoundsFixup(
fixupState : BoundsFixupState,
iteration : int,
createdDuringViewFixup : boolean
)
Parameters
fixupState
Type: Microsoft.VisualStudio.Modeling.Diagrams.BoundsFixupStateThe state of the bounds.
iteration
Type: Int32The iteration count, used to avoid infinite loops.
createdDuringViewFixup
Type: Booleantrue if a child shape was created when the view was fixed up; otherwise, false.
Remarks
The base method applies the BoundsRules to adjust the AbsoluteBounds.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.