summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/EditorRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/EditorRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/EditorRenderer.cs6
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()