OnDeactivate has a bool parameter called "close".
If only another tab gets activated the previous get deactivated (close=false).
If you close a tab OnDeactivated() is called but with close=true, so you can do some cleanup.
↧
New Post: Extra Viewmodel deactivation using SimpleMDI example.
↧