summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs b/Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs
index 57c9ab1..3fcb3ff 100644
--- a/Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/VisualElementRenderer.cs
@@ -105,8 +105,8 @@ namespace Xamarin.Forms.Platform.MacOS
if (platformEffect == null)
return;
- platformEffect.Container = container;
- platformEffect.Control = control;
+ platformEffect.SetContainer(container);
+ platformEffect.SetControl(control);
}
void IEffectControlProvider.RegisterEffect(Effect effect)
@@ -291,7 +291,7 @@ namespace Xamarin.Forms.Platform.MacOS
protected virtual void OnRegisterEffect(PlatformEffect effect)
{
- effect.Container = this;
+ effect.SetContainer(this);
}
#if __MOBILE__