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

DataForm Height Not Displaying Unless Manually Declaring HeightRequest


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?

1 Reply

SP Subburaj Pandian Veluchamy Syncfusion Team 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


Live Chat Icon For mobile
Up arrow icon