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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace