summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/RendererFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/RendererFactory.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/RendererFactory.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/RendererFactory.cs b/Xamarin.Forms.Platform.WinRT/RendererFactory.cs
new file mode 100644
index 00000000..576950c3
--- /dev/null
+++ b/Xamarin.Forms.Platform.WinRT/RendererFactory.cs
@@ -0,0 +1,19 @@
+´╗┐using System;
+
+#if WINDOWS_UWP
+
+namespace Xamarin.Forms.Platform.UWP
+#else
+
+namespace Xamarin.Forms.Platform.WinRT
+#endif
+{
+ public static class RendererFactory
+ {
+ [Obsolete("Use Platform.CreateRenderer")]
+ public static IVisualElementRenderer CreateRenderer(VisualElement element)
+ {
+ return Platform.CreateRenderer(element);
+ }
+ }
+} \ No newline at end of file