From b8f00ce930a41ddb12342005a76c27fb01fb2891 Mon Sep 17 00:00:00 2001 From: Alex Corrado Date: Fri, 30 Mar 2018 16:00:21 -0400 Subject: [PATCH 1/5] Add ICommandableElement interface, implement on everything that exposes a Command property --- Xamarin.Forms.Core/Button.cs | 2 +- Xamarin.Forms.Core/Cells/TextCell.cs | 3 ++- Xamarin.Forms.Core/ClickGestureRecognizer.cs | 3 ++- Xamarin.Forms.Core/Entry.cs | 14 +++++++++++++- Xamarin.Forms.Core/ICommandableElement.cs | 12 ++++++++++++ Xamarin.Forms.Core/MenuItem.cs | 3 ++- Xamarin.Forms.Core/SearchBar.cs | 14 +++++++++++++- Xamarin.Forms.Core/TapGestureRecognizer.cs | 3 ++- 8 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 Xamarin.Forms.Core/ICommandableElement.cs diff --git a/Xamarin.Forms.Core/Button.cs b/Xamarin.Forms.Core/Button.cs index cecc807a9d0..1f4804e1f80 100644 --- a/Xamarin.Forms.Core/Button.cs +++ b/Xamarin.Forms.Core/Button.cs @@ -8,7 +8,7 @@ namespace Xamarin.Forms { [RenderWith(typeof(_ButtonRenderer))] - public class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration