Diagram.OnChildAssociatedPropertyChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Event args describing the property that changed.