In Xamarin.Forms I need to create a popup window that shows login page in popup window.
here is my code using xlab popup control.
MainPage l = new MainPage();
Navigation.PushModalAsync(l);
PopupLayout popupLayout = new PopupLayout();
popupLayout.Content = l.Content;
ShowPopup(l);
MainPage
extends ContentPage
and currently its working fine for login screen, but my requirement is to show it as a popup. Can anyone please help on this? Or is there any other way to do this ?
Here is how you do it