コード例 #1
0
        public static NativeColor ToNative(this Color color)
        {
#if NETFX_CORE || WINDOWS_UWP
            return(color.ToWindows());
#elif WINDOWS_PHONE
            return(color.ToWindows());
#elif __IOS__
            return(color.ToUIColor());
#elif __ANDROID__
            return(color.ToAndroid());
#endif
        }