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 16:51:08 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-07 16:51:08 (GMT)
commitae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00 (patch)
treebd7a901e74d075bd57169b0ecc381d67f6a949e9 /Xamarin.Forms.Platform.WP8/TextCellRenderer.cs
parentbb7bf53447538d5f17cac48052585a6a9282f70b (diff)
downloadxamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.zip
xamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.tar.gz
xamarin-forms-ae4444baeff9b6f82cd8a5aec4e41e3ed7e66d00.tar.bz2
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 b3c2453..56a9a38 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