As per a previous question Xamarin Forms slide button I have a custom controller. However, it currently only has an event attached to it and I would like it to be capable to handling commands so I can apply the MVVM pattern.
1 Answer
You can use the EventToCommandBehavior class which is part of xamarin.forms.
Documentation & samples here: Invoking a command when an event fires
Hope it helps!