summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/PlatformEffect.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/PlatformEffect.cs')
-rw-r--r--Xamarin.Forms.Core/PlatformEffect.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/PlatformEffect.cs b/Xamarin.Forms.Core/PlatformEffect.cs
index e92231c..217510f 100644
--- a/Xamarin.Forms.Core/PlatformEffect.cs
+++ b/Xamarin.Forms.Core/PlatformEffect.cs
@@ -6,8 +6,14 @@ namespace Xamarin.Forms
{
public TContainer Container { get; internal set; }
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void SetContainer(TContainer container) => Container = container;
+
public TControl Control { get; internal set; }
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void SetControl(TControl control) => Control = control;
+
protected virtual void OnElementPropertyChanged(PropertyChangedEventArgs args)
{
}