PortPlacementHelper.OnParentShapeResized Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu yöntem artık DSL içinde Çağrısız ve kullanım dışı bırakılmıştır. DSL şimdi başka bir kanca sağlıyor: Microsoft. VisualStudio. modellemesi. DiagramsNodeShape sınıfında "OnParentNodeShapeChanged" sanal yöntemi. Bu yöntem, üst NodeShape her taşındığında/yeniden boyutlandırılırken bir alt NodeShape üzerinde çağrılır.
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)
Parametreler
- parentShape
- NodeShape
parentShape
- oldBounds
- RectangleD
Oldsınır
- newBounds
- RectangleD
Newsınır
Açıklamalar
kullanım dışı