summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs')
-rw-r--r--[-rwxr-xr-x]Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
index 8b288698..512e3047 100755..100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
-using System.Diagnostics;
using System.ComponentModel;
+using Xamarin.Forms.Internals;
using ElmSharp;
using ESize = ElmSharp.Size;
using ERect = ElmSharp.Rect;
@@ -718,7 +718,7 @@ namespace Xamarin.Forms.Platform.Tizen
Layout layout = Element as Layout;
if (layout != null)
{
- layout.InvalidateMeasureInternal(Internals.InvalidationTrigger.MeasureChanged);
+ layout.InvalidateMeasureNonVirtual(InvalidationTrigger.MeasureChanged);
layout.ForceLayout();
}
}
@@ -742,8 +742,8 @@ namespace Xamarin.Forms.Platform.Tizen
/// <param name="effect">The effect to register.</param>
void OnRegisterEffect(PlatformEffect effect)
{
- effect.Container = Element.Parent == null ? null : Platform.GetRenderer(Element.Parent).NativeView;
- effect.Control = NativeView;
+ effect.SetContainer(Element.Parent == null ? null : Platform.GetRenderer(Element.Parent).NativeView);
+ effect.SetControl(NativeView);
}
void OnMoved(object sender, EventArgs e)