PortPlacementHelper.OnParentShapeResized(NodeShape, RectangleD, RectangleD) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Cette méthode n'est plus appelée dans le langage DSL et est donc déconseillée. DSL offre désormais un autre raccordement : une méthode virtuelle : « OnParentNodeShapeChanged » sur Microsoft.VisualStudio.Modeling.DiagramsNodeShape class. Cette méthode est appelée sur un enfant NodeShape chaque fois que le parent NodeShape est déplacé/redimensionné.
public:
virtual void OnParentShapeResized(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD oldBounds, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD newBounds);
public virtual void OnParentShapeResized (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape parentShape, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD oldBounds, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD newBounds);
abstract member OnParentShapeResized : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
override this.OnParentShapeResized : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> unit
Public Overridable Sub OnParentShapeResized (parentShape As NodeShape, oldBounds As RectangleD, newBounds As RectangleD)
Paramètres
- parentShape
- NodeShape
parentShape
- oldBounds
- RectangleD
oldBounds
- newBounds
- RectangleD
newBounds
Remarques
déprécié