Replies: 1 comment
-
If the dialog has the region defined, then just get the views within the region using the RegionManager and loop through them manually and call the interface. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a dialog with a region.
When the dialog closes I need to do some cleanup in the INavigationAware view models.
Seeminly OnNavigatedFrom() doesn't fire when the dialog is closing.
How can I notify my INavigationAware view models to do their cleanup?
I can solve it with by sending them an event using the IEventAggregator but I am hoping for a simpler, more elegant solution.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions