You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to know how the OnNavigatedTo function is called when you navigate to a page/view.
I have a view that I'm going to but the OnNavigatedTo function isn't being called.
My ViewModel does implement the INavigationAware interface and in the view I have a NavigationFluent control.
The example I saw uses a NavigationView though. Does it only work with NavigationViews?
Edit - I realized that the page needed to implement INavigableView.
Once I did that the OnNavigatedTo function was hit.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to know how the OnNavigatedTo function is called when you navigate to a page/view.
I have a view that I'm going to but the OnNavigatedTo function isn't being called.
My ViewModel does implement the INavigationAware interface and in the view I have a NavigationFluent control.
The example I saw uses a NavigationView though. Does it only work with NavigationViews?
Edit - I realized that the page needed to implement INavigableView.
Once I did that the OnNavigatedTo function was hit.
Beta Was this translation helpful? Give feedback.
All reactions