Share via


ModelResource.Changed Event

When overridden in a derived class, occurs when the model item changes.

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

Syntax

'Declaration
Public MustOverride Event Changed As EventHandler
'Usage
Dim instance As ModelResource 
Dim handler As EventHandler 

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

Remarks

The model item can change when the external resource is reloaded. Accessing the ModelItem property after this event is raised returns a new ModelItem.

.NET Framework Security

See Also

Reference

ModelResource Class

ModelResource Members

Microsoft.Windows.Design.Services Namespace

Other Resources

WPF Designer Extensibility Architecture