private async void OpenPopupTest(object sender, EventArgs e, string _label) { var popup = new PopupExample(_label); var scaleAnimation = new ScaleAnimation { PositionIn = MoveAnimationOptions.Center, PositionOut = MoveAnimationOptions.Bottom }; popup.CloseWhenBackgroundIsClicked = true; popup.BackgroundColor = Color.Orange; popup.Animation = scaleAnimation; await PopupNavigation.Instance.PushAsync(popup); }
async private void gototest(object sender, EventArgs e) { var popup = new PopupExample("Ratón"); var scaleAnimation = new ScaleAnimation { PositionIn = MoveAnimationOptions.Center, PositionOut = MoveAnimationOptions.Bottom }; popup.CloseWhenBackgroundIsClicked = true; popup.BackgroundColor = Color.White; popup.Animation = scaleAnimation; await PopupNavigation.Instance.PushAsync(popup); }