diff options
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs')
-rw-r--r-- | Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs b/Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs index 9dfd12bb..79688693 100644 --- a/Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs +++ b/Xamarin.Forms.Platform.WinRT/VisualElementExtensions.cs @@ -18,7 +18,9 @@ namespace Xamarin.Forms.Platform.WinRT IVisualElementRenderer renderer = Platform.GetRenderer(self); if (renderer == null) { +#pragma warning disable 618 renderer = RendererFactory.CreateRenderer(self); +#pragma warning restore 618 Platform.SetRenderer(self, renderer); } |