Exemplo n.º 1
0
        private void Element_ColorSchemeChanged(object sender, GoogleSignInButton.ColorSchemeEnum e)
        {
            switch (e)
            {
            case GoogleSignInButton.ColorSchemeEnum.Auto:
                button.ColorScheme = ButtonColorScheme.Light;
                break;

            case GoogleSignInButton.ColorSchemeEnum.Dark:
                button.ColorScheme = ButtonColorScheme.Dark;
                break;

            case GoogleSignInButton.ColorSchemeEnum.Light:
                button.ColorScheme = ButtonColorScheme.Light;
                break;
            }
        }
        private void Element_ColorSchemeChanged(object sender, GoogleSignInButton.ColorSchemeEnum e)
        {
            switch (e)
            {
            case GoogleSignInButton.ColorSchemeEnum.Auto:
                button.SetColorScheme(SignInButton.ColorAuto);
                break;

            case GoogleSignInButton.ColorSchemeEnum.Dark:
                button.SetColorScheme(SignInButton.ColorDark);
                break;

            case GoogleSignInButton.ColorSchemeEnum.Light:
                button.SetColorScheme(SignInButton.ColorLight);
                break;
            }
        }