We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can we use SfPopuplayout as separate page?

Thread ID:

Created:

Updated:

Platform:

Replies:

142960 Feb 27,2019 03:21 AM UTC Feb 27,2019 08:52 AM UTC Xamarin.Forms 1
loading
Tags: SfPopup
Emil
Asked On February 27, 2019 03:21 AM UTC

Hi,

I am currently using Rg.popup in my project and i consider to replace with sfPopup. i wonder if it is possible to replace it simply. because Rg.popup creates a page itself like below.

<pages:PopupPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                 xmlns:pages="clr-namespace:Rg.Plugins.Popup.Pages;assembly=Rg.Plugins.Popup"
                 x:Class="myApp.InfoPopupPage">
    <pages:PopupPage.Content>

as you it derives from contentpage. So i create separate popuppage
and on any viewmodel, i will call simply

  InfoPopupPage page1 = new InfoPopupPage();
   await _navigation.PushPopupAsync(page1);

Can I have similar usage with sfPopup?

Subburaj Pandian Veluchamy [Syncfusion]
Replied On February 27, 2019 08:52 AM UTC

Hi Emil, 
 
Thank you for your interest in Syncfusion products. 
 
Based on the provided information, your requirement of “Setting Popup layout as content in the page” can be achieved by setting the Popup layout as content in the concern page. And if your requirement is to render the Popup without any function like Button click, you can call Show method in the Popup with the delay.

We have prepared sample by setting Popup as content in the ContentPage and shown the Popup directly without any click operation. Please find the sample by the following link, 
 
Sample link: PopupDefaultOpen 
 
We hope this helps. Please let us know, if you have any query. 
 
Regards,
Subburaj Pandian V 
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon