Condividi tramite


NodeShape.OnParentNodeShapeChanged Method

This method is invoked if a) ParentShape is NodeShape b) ParentShape either moved or resized.

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

Syntax

'Dichiarazione
Protected Overridable Sub OnParentNodeShapeChanged ( _
    oldParentAbsoluteBounds As RectangleD, _
    newParentAbsoluteBounds As RectangleD _
)
protected virtual void OnParentNodeShapeChanged(
    RectangleD oldParentAbsoluteBounds,
    RectangleD newParentAbsoluteBounds
)
protected:
virtual void OnParentNodeShapeChanged(
    RectangleD oldParentAbsoluteBounds, 
    RectangleD newParentAbsoluteBounds
)
abstract OnParentNodeShapeChanged : 
        oldParentAbsoluteBounds:RectangleD * 
        newParentAbsoluteBounds:RectangleD -> unit 
override OnParentNodeShapeChanged : 
        oldParentAbsoluteBounds:RectangleD * 
        newParentAbsoluteBounds:RectangleD -> unit 
protected function OnParentNodeShapeChanged(
    oldParentAbsoluteBounds : RectangleD, 
    newParentAbsoluteBounds : RectangleD
)

Parameters

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace