summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/PlatformConfigurationExtensions.cs
blob: f488c3c264a84ba845855f4a9f35c8dad2db1760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if WINDOWS_UWP

namespace Xamarin.Forms.Platform.UWP
#else

namespace Xamarin.Forms.Platform.WinRT
#endif
{
	public static class PlatformConfigurationExtensions
	{
		public static IPlatformElementConfiguration<PlatformConfiguration.Windows, T> OnThisPlatform<T>(this T element) 
			where T : Element, IElementConfiguration<T>
		{
			return (element).On<PlatformConfiguration.Windows>();
		}
	}
}