Xamarin.Forms ContextActions, Binding and Mvvm Code Sample

How to bind a ContextAction in a Xamarin Forms ListView to a View Model?  This is a question I was asked recently.   I created a simple code sample for this, so thought I’d share it with everyone.

 

Below is a link to the sample on GitHub.    It includes an example of how to do it in code and in XAML.

 

 

https://github.com/apead/FormsMvvmContextActionSample

 

Happy Xamarin.Forms Coding!

FacebookTwitterGoogle+LinkedIn

apead

I am a Xamarin Insider, Xamarin Premier Consultant Partner, Architect, Software Developer, Organizer and Sponsor of the Cape Town, and Johannesburg Xamarin User’s Group and father of 2.

Leave a Reply

Your email address will not be published. Required fields are marked *