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

sfTreeView throw exception when empedded in a ScrollView on UWP

Thread ID:





140800 Nov 7,2018 03:08 PM UTC Nov 8,2018 10:41 AM UTC Xamarin.Forms 1
Tags: SfTreeView
Wolfgang Schneider
Asked On November 7, 2018 03:08 PM UTC

Used Versions:
<PackageReference Include="Syncfusion.Xamarin.SfTreeView" Version="" />
    <PackageReference Include="Xamarin.Forms" Version="" />

System.ArgumentException: Value does not fall within the expected range.
   at Windows.UI.Xaml.FrameworkElement.put_Width(Double value)
   at Syncfusion.UWP.TreeView.SfTreeView.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.UIElement.Measure(Size availableSize)
   at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.MeasureOverride(Size availableSize)
   at Windows.UI.Xaml.UIElement.Measure(Size availableSize)
   at Xamarin.Forms.Platform.UWP.VisualElementRenderer`2.MeasureOverride(Size av

?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
    <ScrollView Orientation="Both">
        <Grid WidthRequest="600" HeightRequest="600">
        <syncfusion:SfTreeView x:Name="treeView">
                <treeviewengine:TreeViewNode Content="Australia">
                        <treeviewengine:TreeViewNode Content="New South Wales">
                                <treeviewengine:TreeViewNode Content="Sydney"/>
                <treeviewengine:TreeViewNode Content="United States of America">
                        <treeviewengine:TreeViewNode Content="New York"/>
                        <treeviewengine:TreeViewNode Content="California">
                                <treeviewengine:TreeViewNode Content="San Francisco"/>

Vigneshkumar Ramasamy [Syncfusion]
Replied On November 8, 2018 10:41 AM UTC

Hi Wolfgang,  
We confirmed that the reported issue “Argument exception occurs when treeview loaded inside scrollview with orientation property” is a defect and logged a defect report for this issue. The fix will be included in our upcoming 2018 Volume 4 release which is scheduled to be rolled out by the middle of December, 2018. Please let us know if you need patch before the release.     
Vignesahkumar R 


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.

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