Share via


Diagram.OnChildAssociatedPropertyChanged Method

Definition

When a property associated with a child shape changes, this method is called to allow derived classes to update the shape's resources. For example, if a property in the model were associated with the shape's background color, then a derived class could override this method to change the background color.

protected public:
 virtual void OnChildAssociatedPropertyChanged(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::PropertyChangedEventArgs ^ e);
protected internal virtual void OnChildAssociatedPropertyChanged (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape, Microsoft.VisualStudio.Modeling.Diagrams.PropertyChangedEventArgs e);
abstract member OnChildAssociatedPropertyChanged : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.PropertyChangedEventArgs -> unit
override this.OnChildAssociatedPropertyChanged : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.PropertyChangedEventArgs -> unit
Protected Friend Overridable Sub OnChildAssociatedPropertyChanged (shape As ShapeElement, e As PropertyChangedEventArgs)

Parameters

shape
ShapeElement

Shape associated with the model element whose property changed.

e
PropertyChangedEventArgs

Event args describing the property that changed.

Applies to