C# Class Windows.UI.Interactivity.WeakLifetimeObserver

Fires off notifications about the specified object's lifetime events (Loaded and Unloaded), without keeping a hard reference to the target.
Show file Open project: jlaanstra/Windows.UI.Interactivity

Public Methods

Method Description
WeakLifetimeObserver ( FrameworkElement observedObject, ILifetimeTarget reference ) : System

Private Methods

Method Description
observedObject_Loaded ( object sender, RoutedEventArgs e ) : void
observedObject_Unloaded ( object sender, RoutedEventArgs e ) : void

Method Details

WeakLifetimeObserver() public method

public WeakLifetimeObserver ( FrameworkElement observedObject, ILifetimeTarget reference ) : System
observedObject Windows.UI.Xaml.FrameworkElement
reference ILifetimeTarget
return System