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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataForm Height Not Displaying Unless Manually Declaring HeightRequest

Thread ID:





146547 Aug 7,2019 08:10 PM UTC Aug 8,2019 07:28 AM UTC Xamarin.Forms 1
Tags: SfDataForm
Matthew Bailey
Asked On August 7, 2019 08:10 PM UTC


I've implemented an SfDataForm within a StackLayout the following credentials:

      HeightRequest="120" ColumnCount="3"
      DataObject="{Binding ItemSelection}"

Is there a way to have the SfDataForm auto fill based on the view itself? or am I required to give a predefined height?

Subburaj Pandian Veluchamy [Syncfusion]
Replied On August 8, 2019 07:28 AM UTC

Hi Matthew, 
Thank you for contacting Syncfusion support. 
Based on the shared information, we have analyzed the reported issue “DataForm doesn’t display within StackLayout” and we suspect that you have not specified VerticalOptions for DataForm. If you want to load DataForm inside StackLayout, you need to Horizontaloptions and VerticalOptions of DataForm and set Parent (StackLayout) of DataForm to LayoutOptions.FillAndExpand.  
Kindly refer our UG documentation to know more about loading DataForm inside StackLayout, 
We hope this helps. Kindly revert us if you have any concern. 
Subburaj Pandian V



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