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
- 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