summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/ViewExtensions.cs
blob: 1d46b3b2a091eb31542deaf61e3af63791983c71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
´╗┐using System;

namespace Xamarin.Forms.Platform.WinPhone
{
	public static class ViewExtensions
	{
		[Obsolete("Use Platform.GetRenderer")]
		public static IVisualElementRenderer GetRenderer(this VisualElement self)
		{
			return Platform.GetRenderer(self);
		}

		[Obsolete("Use Platform.SetRenderer")]
		public static void SetRenderer(this VisualElement self, IVisualElementRenderer renderer)
		{
			Platform.SetRenderer(self, renderer);
		}
	}
}