Skip to content

Instantly share code, notes, and snippets.

@edsnider edsnider/SomeView.cs
Last active Aug 11, 2017

Embed
What would you like to do?
MvvmCross UIView Tap Command Binding
var set = this.CreateBindingSet<SomeView, SomeViewModel>();
// Use UIView Tap extension method in Cirrious.MvvmCross.Binding.Touch.Views.Gestures:
set.Bind (whateverLabel.Tap ())
.For (v => v.Command)
.To (vm => vm.WhateverCommand);
set.Apply();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.