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)
public abstract event EventHandler<ModelChangedEventArgs> ModelChanged
public:
virtual  event EventHandler<ModelChangedEventArgs^>^ ModelChanged {
    void add (EventHandler<ModelChangedEventArgs^>^ value);
    void remove (EventHandler<ModelChangedEventArgs^>^ value);
}
abstract ModelChanged : IEvent<EventHandler<ModelChangedEventArgs>,
    ModelChangedEventArgs>
JScript does not support events.

Remarks

Use the ModelChangedEventArgs type to find the item that changed.

.NET Framework Security

See Also

Reference

ModelService Class

Microsoft.Windows.Design.Services Namespace

ModelItem

Other Resources

Editing Model Architecture

WPF Designer Extensibility