summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs b/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
index 93788ad..0437bca 100644
--- a/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.WP8/VisualElementRenderer.cs
@@ -239,8 +239,8 @@ namespace Xamarin.Forms.Platform.WinPhone
protected virtual void OnRegisterEffect(PlatformEffect effect)
{
- effect.Container = this;
- effect.Control = Control;
+ effect.SetContainer(this);
+ effect.SetControl(Control);
}
protected void SetNativeControl(TNativeElement element)