Show View of Type Popup

Ronald Rex 1,666 Reputation points

Hi Friends I have a requirement to show a View of Type Popup using code in my view model. I was wondering what is the best practice for this requirement. TIA !!!

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,959 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,348 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alessandro Caliaro 4,181 Reputation points

    I think this is the best choice:

    then you can use

              var popup = new AppuntamentoPopupPage(cliente, date, ambiti, tipologiaVisitaWithCustomer, tipologiaVisitaWithoutCustomer, utenti, statoVisitaWithCustomer, appuntamentoRicercaItem);
                var ret = await Application.Current.MainPage.ShowPopupAsync(popup);

0 additional answers

Sort by: Most helpful