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

DataForm Height Not Displaying Unless Manually Declaring HeightRequest

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,

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

<dataForm:SfDataForm
      HeightRequest="120" ColumnCount="3"
      HorizontalOptions="FillAndExpand"
      x:Name="includeItemNumber"
      ContainerType="None"
      DataObject="{Binding ItemSelection}"
      ValidationMode="PropertyChanged"
      LayoutOptions="TextInputLayout"/>
</StackLayout>

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. 
  
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