public static void SetCommand <T>(this GestureRecognizerBehaviour <T> recognizer, ICommand <T> command) where T : UIGestureRecognizer { recognizer.Command = command; }
public static Binding Bind <T>(this GestureRecognizerBehaviour <T> recognizer, Action <T> action) where T : UIGestureRecognizer { recognizer.Command = new RelayCommand <T>(action); return(new GestureRecognizerBinding(recognizer)); }
public static void SetCommand(this GestureRecognizerBehaviour recognizer, ICommand command) { recognizer.Command = command; }
public static Binding Bind(this GestureRecognizerBehaviour recognizer, Action action) { recognizer.Command = new RelayCommand(action); return(new GestureRecognizerBinding(recognizer)); }