EventObserver Class
EventObserver is designed to help manage event handlers by detatching when disposed. Creating this object will also attach in the constructor.
Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)
Syntax
'Declaration
Public NotInheritable Class EventObserver
Implements IDisposable
'Usage
Dim instance As EventObserver
public sealed class EventObserver : IDisposable
public ref class EventObserver sealed : IDisposable
public final class EventObserver implements IDisposable
public final class EventObserver implements IDisposable
Inheritance Hierarchy
System.Object
System.Windows.Interactivity.EventObserver
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
EventObserver Members
System.Windows.Interactivity Namespace