Replies: 1 comment
-
WPF doesn't need this interface. The IInitialize was added to XF because of how XF works with deep linking. In WPF, you just use OnNavigatedTo. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Prism for Xamarin has the option to handle view model initialization by using the IInitialize or IInitializeAsync interfaces. This gives access to the navigation parameters upon first navigation to a view model.
I would like to use this behavior in a WPF app, but Prism for WPF does not include the IInitialize or IInitializeAsync interfaces, and the INavigationAware interface does not provide similar functionality.
Why is this the case? Is this a technical limitation? What is the recommended approach for a WPF app to achieve this behavior?
Greetings
Beta Was this translation helpful? Give feedback.
All reactions