public async void StartOnClicked(object s, EventArgs e) { await MainGrid.TranslateTo(200, 300, 1000, Easing.Linear); await MainGrid.RotateTo(90, 800, Easing.SinOut); await MainGrid.FadeTo(0.5, 600, Easing.CubicOut); await MainGrid.LayoutTo(new Rectangle(-200, -300, 300, 100)); }
private async void btnAnimate_Clicked(object sender, EventArgs e) { await MainGrid.TranslateTo(200, 300, 1000, Easing.Linear); await MainGrid.RotateTo(90, 800, Easing.SinInOut); await MainGrid.FadeTo(0.5, 600, Easing.CubicOut); await MainGrid.LayoutTo(new Rectangle(-200, -300, 300, 100)); await MainGrid.ScaleTo(0.6, 500, Easing.CubicIn); }
protected override void OnAppearing() { base.OnAppearing(); //Add a fadeanimation to the entire page on load MainGrid.FadeTo(1, 2000, Easing.SpringIn); }
private async void MonthChanged(object sender, EventArgs e) { await PrepareGrid(); await MainGrid.FadeTo(1, 500, Easing.Linear); }
private async void MonthStartChanging(object sender, EventArgs e) { await MainGrid.FadeTo(0, 500, Easing.Linear); }