I have implemented ISupportsActivation
and added calls to this.WhenActivated
for both the view model and the view. It seems to me that the delegate gets called twice. Both for activation and deactivation. Is this by design or am I doing something wrong? If this is by design, is there any way to know if the call is for activation or deactivation?
The view model is data bound to a ViewModelHost
if that matters in any way.