Last active
February 19, 2020 12:39
-
-
Save grimorde/aca1ccf0c58f0e25ba84223149f912ac to your computer and use it in GitHub Desktop.
Using the Item Tapped Event Arg Converter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ListView ItemsSource="{Binding ListData}" HasUnevenRows="True"> | |
<ListView.Behaviors> | |
<behaviors:EventToCommandBehavior EventName="ItemTapped" Command="{Binding ListItemSelected}" EventArgsConverter="{StaticResource ItemTappedEventArgsConverter}" /> | |
</ListView.Behaviors> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<ViewCell> | |
<!- your layout here--> | |
</ViewCell> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
</List> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment