I would be very grateful if someone explain my "differences" between method Deactivate and TryClose in MVVM framework Caliburn.Micro.
For example my app has this structure:
- Shell (WPF window)
- SomeScreen (User control) - is active
I know that method is Deactivate is call everytime if is screen deactivated. An method TryClose is used on attempt to close some screen.
My questions are:
I click on X button on WPF window. First is call method deactivate on SomeScreen object and then is call the same method on Shell object ?
After deactivate method is totally object destroyed? - "remove reference on him"?
When I close WPF window which is shell it call wich methods from IConductor ?