public static NativeBandTheme ToNative(this BandTheme theme) { return(new NativeBandTheme { Base = theme.Base.ToNative(), HighContrast = theme.HighContrast.ToNative(), Highlight = theme.Highlight.ToNative(), Lowlight = theme.Lowlight.ToNative(), Muted = theme.Muted.ToNative(), SecondaryText = theme.SecondaryText.ToNative() }); }
public static NativeBandTheme ToNative(this BandTheme theme) { return(new NativeBandTheme { #if __ANDROID__ BaseColor = theme.Base.ToNative(), HighContrastColor = theme.HighContrast.ToNative(), HighlightColor = theme.Highlight.ToNative(), LowlightColor = theme.Lowlight.ToNative(), MutedColor = theme.Muted.ToNative(), SecondaryTextColor = theme.SecondaryText.ToNative() #elif __IOS__ || WINDOWS_PHONE_APP Base = theme.Base.ToNative(), HighContrast = theme.HighContrast.ToNative(), Highlight = theme.Highlight.ToNative(), Lowlight = theme.Lowlight.ToNative(), Muted = theme.Muted.ToNative(), SecondaryText = theme.SecondaryText.ToNative() #endif });