protected override void OnDetaching() { base.OnDetaching(); DynamicTriggers.UnregisterHost(); DynamicTriggers.Detach(); Reactions.Detach(); }
protected override void OnAttached() { base.OnAttached(); DynamicTriggers.RegisterHost(this); DynamicTriggers.Attach(AssociatedObject); Reactions.Attach(AssociatedObject); }