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. Image for the cookie policy date
close icon

example of SfDataForm in a dialog context

We are creating a Xamarin Forms UWP app that will use dialogs for data entry. We are considering the SfDataForm, but it appears to want to live in a full sized page. How would this control be used in a dialog context where the dialog pops over the rest of the screen?

We have used therg.plugins.popup control freely available on GitHub to create dialogs in the past. How does an app created using SyncF controls do it?

1 Reply

FP Farjana Parveen Ayubb Syncfusion Team July 4, 2019 11:15 AM UTC

Hi John, 
Thank you for contacting Syncfusion support. 
Based on the shared information we suspect that your requirement is to “achieve popup dialog”, for that you can use Syncfusion’s SfPopupLayout control. Kindly refer our UG documentation to know more about SfPopupLayout. 
We have prepared a simple sample using DataForm inside SfPopupLayout. 
Code Snippet: 
<sfpopup:SfPopupLayout x:Name="popUpLayout" StaysOpen="True" > 
           <sfpopup:PopupView  > 
                          <sfdataForm:SfDataForm x:Name="dataform" 
                                                   DataObject="{Binding Dialog}"/> 
Sample link: DataFormPopup 
We hope this helps. Please let us know if you would require any further assistance. 
Farjana Parveen A 

Live Chat Icon For mobile
Up arrow icon