summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8
diff options
context:
space:
mode:
authorChris King <kingces95@gmail.com>2017-02-17 12:04:50 -0800
committerRui Marinho <me@ruimarinho.net>2017-02-21 10:24:12 +0000
commit217a59e5873b1a4850719c26b11b853270df70ce (patch)
tree58071c61764cf9eee170bfad9e6408b2bd5e9cb0 /Xamarin.Forms.Platform.WP8
parent5e84299ac3f01bed5f5a69313dd3a1fe2598e41a (diff)
downloadxamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.tar.gz
xamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.tar.bz2
xamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.zip
update IEditorController callsites
Diffstat (limited to 'Xamarin.Forms.Platform.WP8')
-rw-r--r--Xamarin.Forms.Platform.WP8/EditorRenderer.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WP8/EditorRenderer.cs b/Xamarin.Forms.Platform.WP8/EditorRenderer.cs
index 500bcfae..0acdec7b 100644
--- a/Xamarin.Forms.Platform.WP8/EditorRenderer.cs
+++ b/Xamarin.Forms.Platform.WP8/EditorRenderer.cs
@@ -9,7 +9,9 @@ namespace Xamarin.Forms.Platform.WinPhone
{
bool _fontApplied;
- protected override void OnElementChanged(ElementChangedEventArgs<Editor> e)
+ IEditorController ElementController => Element;
+
+ protected override void OnElementChanged(ElementChangedEventArgs<Editor> e)
{
base.OnElementChanged(e);
@@ -21,7 +23,7 @@ namespace Xamarin.Forms.Platform.WinPhone
UpdateInputScope();
UpdateTextColor();
- Control.LostFocus += (sender, args) => Element.SendCompleted();
+ Control.LostFocus += (sender, args) => ElementController.SendCompleted();
textBox.TextChanged += TextBoxOnTextChanged;
}