public void CloseMenu2() { Action <double> callback = input => MenuView.TranslationX = input; MenuView.Animate("anim", callback, 0, -260, 16, 360, Easing.BounceIn); MenuGrid2.IsVisible = false; }
public void CloseMenu() { Action <double> callback = input => MenuView.TranslationX = input; MenuView.Animate("anim", callback, 0, -260, 16, 360, Easing.CubicInOut); MenuGrid.IsVisible = false; }
private void OpenMenu() { MenuGrid.IsVisible = true; Action <double> callback = input => MenuView.TranslationX = input; MenuView.Animate("anim", callback, -260, 0, 16, 300, Easing.CubicInOut); }