Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for NavigateTo within EventToCommandBehavior #2495

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

brianlagunas
Copy link
Member

@brianlagunas brianlagunas commented Jun 24, 2021

Description of Change

Added support for the NavigateTo markup extension to work within the Prism EventToCommandBehavior. You can now do something like this:

        <ListView ItemsSource="{Binding Authors}">
            <ListView.Behaviors>
                <prism:EventToCommandBehavior EventName="ItemTapped"
                                              Command="{prism:NavigateTo 'AuthorDetailPage'}"
                                              EventArgsParameterPath="Item" />
            </ListView.Behaviors>
        </ListView>

Bugs Fixed

API Changes

NONE

Behavioral Changes

NavigateTo now works with the EventToCommandBehavior

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

@brianlagunas brianlagunas changed the title Add Support for NavigateTo use within EventToCommandBehavior Add Support for NavigateTo within EventToCommandBehavior Jun 24, 2021
@dansiegel
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants