how to create custom popup window in Xamarin.Form
<p>In Xamarin.Forms I need to create a popup window that shows login page in popup window.</p>

<p>here is my code using xlab popup control.</p>

<pre><code>MainPage l = new MainPage();    
Navigation.PushModalAsync(l); 
PopupLayout popupLayout = new PopupLayout();
popupLayout.Content = l.Content;
ShowPopup(l);
</code></pre>

<p><code>MainPage</code> extends <code>ContentPage</code> 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 ?</p>