async private void Button2Tapp_Tapped(object sender, EventArgs e) { // -- button2 fadeto and changing color if (Button2.BackgroundColor != Color.Lime) { await Button2.FadeTo(0, 300); // fadeto 0% in 300ms Button2.BackgroundColor = Color.Lime; // changing border color to 'lime' await Button2.FadeTo(1, 300); // fadeto 100% in 300ms } else { await Button2.FadeTo(0, 300); // fadeto 0% in 300ms Button2.BackgroundColor = Color.Black; // changing border color to 'lime' await Button2.FadeTo(1, 300); // fadeto 100% in 300ms } }