Share via


ModelService.ModelChanged Event

When overridden in a derived class, occurs when an item in the model has changed.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Event ModelChanged As EventHandler(Of ModelChangedEventArgs)
'Usage
Dim instance As ModelService 
Dim handler As EventHandler(Of ModelChangedEventArgs)

AddHandler instance.ModelChanged, handler
public abstract event EventHandler<ModelChangedEventArgs> ModelChanged
public:
virtual   event EventHandler<ModelChangedEventArgs^>^ ModelChanged {
    void add (EventHandler<ModelChangedEventArgs^>^ value);
    void remove (EventHandler<ModelChangedEventArgs^>^ value);
}
JScript does not support events.

Remarks

Use the ModelChangedEventArgs type to find the item that changed.

.NET Framework Security

See Also

Reference

ModelService Class

ModelService Members

Microsoft.Windows.Design.Services Namespace

ModelItem

Other Resources

Editing Model Architecture

WPF Designer Extensibility