diff options
author | Chris King <kingces95@gmail.com> | 2017-02-17 12:04:50 -0800 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2017-02-21 10:24:12 +0000 |
commit | 217a59e5873b1a4850719c26b11b853270df70ce (patch) | |
tree | 58071c61764cf9eee170bfad9e6408b2bd5e9cb0 /Xamarin.Forms.Platform.WinRT | |
parent | 5e84299ac3f01bed5f5a69313dd3a1fe2598e41a (diff) | |
download | xamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.tar.gz xamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.tar.bz2 xamarin-forms-217a59e5873b1a4850719c26b11b853270df70ce.zip |
update IEditorController callsites
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/EditorRenderer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/EditorRenderer.cs b/Xamarin.Forms.Platform.WinRT/EditorRenderer.cs index 2fc01330..c69debd2 100644 --- a/Xamarin.Forms.Platform.WinRT/EditorRenderer.cs +++ b/Xamarin.Forms.Platform.WinRT/EditorRenderer.cs @@ -16,7 +16,9 @@ namespace Xamarin.Forms.Platform.WinRT bool _fontApplied; Brush _backgroundColorFocusedDefaultBrush; - protected override void OnElementChanged(ElementChangedEventArgs<Editor> e) + IEditorController ElementController => Element; + + protected override void OnElementChanged(ElementChangedEventArgs<Editor> e) { if (e.NewElement != null) { @@ -83,7 +85,7 @@ namespace Xamarin.Forms.Platform.WinRT void OnLostFocus(object sender, RoutedEventArgs e) { - Element.SendCompleted(); + ElementController.SendCompleted(); } protected override void UpdateBackgroundColor() |