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

Not able to show sfTreeview

Thread ID:





146928 Aug 26,2019 09:48 AM UTC Aug 26,2019 01:40 PM UTC Xamarin.Forms 4
Tags: SfTreeView
Asked On August 26, 2019 09:48 AM UTC

I'm trying out various syncfusion controls for xamarin.forms. I'm facing issue with sfTreeView control and it is not rendering at all when I run the project. I have attached herewith a text file containing the code. Can you pls look into it and let me know why treeview is not rendering on my phone with give code.

I urgently look forward to get the solution of this problem.


Attachment: code_eb7e11ef.zip

Radoslaw Kubas
Replied On August 26, 2019 10:48 AM UTC

Did you initialise component correctly for iOS and UWP ?

Sivakumar R [Syncfusion]
Replied On August 26, 2019 10:51 AM UTC

Hi Krunal,

Based on the provided code snippets, Services is the property of SubCategory class. So you have to define HierarchyDescriptor as below. Can you please modify the HierarchyDescriptor as below and check.

<treeviewengine:HierarchyPropertyDescriptor TargetType="{x:Type model:SubCategory}" ChildPropertyName="Services"/>


Replied On August 26, 2019 12:08 PM UTC


Thanks your correction worked for me. It was error in my understanding and upon correcting the same I'm able to see treeview now.

Thanks again for your quick response.


Subburaj Pandian Veluchamy [Syncfusion]
Replied On August 26, 2019 01:40 PM UTC

Hi Krunal, 
Thank you for the update. We are glad that the reported issue resolved with the provided solution. 
Please get in touch with us if you would require any further assistance. 
Subburaj Pandian V  


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