From ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00 Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Thu, 7 Apr 2016 10:51:08 -0600 Subject: Un-suppress CS0067 in Platform.WP8; (#57) Fix warning 0067 "An event was declared but never used in the class in which it was declared." Added event invocation method to TextCellRenderer's CanExecuteChanged event to fix warning. --- Xamarin.Forms.Platform.WP8/TextCellRenderer.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Xamarin.Forms.Platform.WP8/TextCellRenderer.cs') diff --git a/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs b/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs index b3c2453d..56a9a389 100644 --- a/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs +++ b/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs @@ -34,6 +34,11 @@ namespace Xamarin.Forms.Platform.WinPhone var entryCell = (EntryCell)parameter; entryCell.SendCompleted(); } + + protected virtual void OnCanExecuteChanged() + { + CanExecuteChanged?.Invoke(this, EventArgs.Empty); + } } public class EntryCellPhoneTextBox : PhoneTextBox -- cgit v1.2.3