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
Thanks for reporting this. This was never designed to work within a Behavior. For now you will have to use an ICommand in your ViewModel. I will add support for calling the NavigateTo markup extension within the Prism EventToCommand.
You're welcome! I'm glad to hear that the ability to navigate via an event will be supported in XAML without the need to add any extra code to the code behind or ViewModel. It will make the task of writing code to navigate via an event like ItemTapped on a ListView cleaner and more succinct.
Description
When attempting to navigate via XAML and
EventToCommandBehavior
like so:The following exception is thrown:
Steps to Reproduce
EventToCommandBehavior
to execute a command on theItemTapped
eventEventToCommandBehavior
Expected Behavior
The navigation to occur when tapping the item.
Actual Behavior
The above exception is thrown.
Basic Information
Reproduction Link
A Visual Studio solution that demonstrates the issue is here. Run the app on Android, tap a name in the ListView, the exception will occur.
Thanks!
The text was updated successfully, but these errors were encountered: