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:

Created:

Updated:

Platform:

Replies:

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

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

ErrorMessage:
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

Code
?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:TestSfTreeView"
             xmlns:syncfusion="clr-namespace:Syncfusion.XForms.TreeView;assembly=Syncfusion.SfTreeView.XForms"
             xmlns:treeviewengine="clr-namespace:Syncfusion.TreeView.Engine;assembly=Syncfusion.SfTreeView.XForms"
             x:Class="TestSfTreeView.MainPage">
    <ScrollView Orientation="Both">
        <Grid WidthRequest="600" HeightRequest="600">
        <syncfusion:SfTreeView x:Name="treeView">
            <syncfusion:SfTreeView.Nodes>
                <treeviewengine:TreeViewNode Content="Australia">
                    <treeviewengine:TreeViewNode.ChildNodes>
                        <treeviewengine:TreeViewNode Content="New South Wales">
                            <treeviewengine:TreeViewNode.ChildNodes>
                                <treeviewengine:TreeViewNode Content="Sydney"/>
                            </treeviewengine:TreeViewNode.ChildNodes>
                        </treeviewengine:TreeViewNode>
                    </treeviewengine:TreeViewNode.ChildNodes>
                </treeviewengine:TreeViewNode>
                   
                <treeviewengine:TreeViewNode Content="United States of America">
                    <treeviewengine:TreeViewNode.ChildNodes>
                        <treeviewengine:TreeViewNode Content="New York"/>
                        <treeviewengine:TreeViewNode Content="California">
                            <treeviewengine:TreeViewNode.ChildNodes>
                                <treeviewengine:TreeViewNode Content="San Francisco"/>
                            </treeviewengine:TreeViewNode.ChildNodes>
                        </treeviewengine:TreeViewNode>
                    </treeviewengine:TreeViewNode.ChildNodes>
                </treeviewengine:TreeViewNode>
            </syncfusion:SfTreeView.Nodes>
        </syncfusion:SfTreeView>
        </Grid>
    </ScrollView>
   
</ContentPage>


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.     
   
Regards,  
Vignesahkumar R 


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.

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

;