0

I have a popup hosts my User Control (using Interactivity). When this popup closed using Window Close button, I want my User Control calls its method for cleaning up, how can I do that?

kvuong
  • 466
  • 3
  • 17
  • Do whatever cleanup is necessary in the callback that happens when the interaction is finished, see http://stackoverflow.com/questions/35238759/prism-custom-confirmation-interaction/35239947#35239947 for a code example – Haukinger Jul 22 '16 at 10:58

1 Answers1

-1

Inherit the Interactivity class, then override the getwindows method, pass your custom INotification that contains the window.

Paul Roub
  • 35,848
  • 27
  • 79
  • 88
huyle
  • 1
  • 4