summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/TextCellRenderer.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-04-07 10:51:08 -0600
committerJason Smith <jason.smith@xamarin.com>2016-04-07 09:51:08 -0700
commitae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00 (patch)
treebd7a901e74d075bd57169b0ecc381d67f6a949e9 /Xamarin.Forms.Platform.WP8/TextCellRenderer.cs
parentbb7bf53447538d5f17cac48052585a6a9282f70b (diff)
downloadxamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.tar.gz
xamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.tar.bz2
xamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.zip
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.
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/TextCellRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/TextCellRenderer.cs5
1 files changed, 5 insertions, 0 deletions
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