#if WINDOWS_UWP namespace Xamarin.Forms.Platform.UWP #else namespace Xamarin.Forms.Platform.WinRT #endif { public static class PlatformConfigurationExtensions { public static IPlatformElementConfiguration OnThisPlatform(this T element) where T : Element, IElementConfiguration { return (element).On(); } } }