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
close icon

Binding in ExpanderTemplate does not work in UWP

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

Code:
<syncfusion:SfTreeView.ExpanderTemplate>
                <DataTemplate>
                    <ViewCell>
                        <ViewCell.View>
                            <Grid>
                                <Label IsVisible="{ Binding HasChildNodes }" Text="C" />
                                <Label IsVisible="{ Binding IsExpanded }" Text="  E" />
                            </Grid>
                        </ViewCell.View>
                    </ViewCell>
                </DataTemplate>
            </syncfusion:SfTreeView.ExpanderTemplate>

result:

HasChildNodes does not work
IsExpanded   does not work in al cases

it looks that it does not work on the last levels




1 Reply

VR Vigneshkumar Ramasamy Syncfusion Team November 8, 2018 06:41 AM UTC

Hi Wolfgang,  
  
Thanks for using Syncfusion products.  
  
We confirmed that the reported issue “IsExpand and HasChildNodes property is true for the item when there are no items in the subgroup” is a defect and logged a defect report for this issue. The fix will be included in our upcoming 2018 Volume 4 main release which is scheduled to be rolled out by the mid of December month. We will appreciate your patience until then.  
  
Regards,  
Vigneshkumar R 


Loader.
Live Chat Icon For mobile
Up arrow icon