Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
UIView Tap Command Binding using MvvmCross
// add using MvvmCross.Binding.iOS.Views.Gestures;
var set = this.CreateBindingSet<TheViewController, TheViewModel>();
set.Bind (TheControl.Tap()).For(t => t.Command).To(vm => vm.TheCommand);
set.Apply();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment