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

Tree view in side menu?

Thread ID:

Created:

Updated:

Platform:

Replies:

146013 Jul 17,2019 09:24 AM UTC Jul 25,2019 10:27 AM UTC Xamarin.Forms 3
loading
Tags: SfTreeView
Raphael
Asked On July 17, 2019 09:24 AM UTC

Is there any way you can call or redirect a form from the tree view? because there is no property such as tap or click...


Dinesh Babu Yadav [Syncfusion]
Replied On July 18, 2019 08:53 AM UTC

Hi Raphael, 
 
Thank you for contacting Syncfusion support. 
 
We would like to let you know that you can use the ItemTapped event/TapCommand for TreeView. If the above two scenarios doesn’t meet your requirement, please share your use case, which will help us to analyze your query better and provide appropriate solution at our end.   
 
We have already mentioned in our UG documentation. 
 
 
Regards, 
Dinesh Babu Yadav 


Raphael
Replied On July 25, 2019 05:48 AM UTC

thank you dinesh for the reply and i have already fixed it.

however, i have tried to get the property within the node.content but it doesn't allow me to do so (please see attached file)

the issue is this. i want to get the itemname from the itemtapped. but when I use this

var a = e.Node.Content.ItemName; ------> it is an error

how can we get the item selected on this one?


Attachment: contentname_97c1269.zip

Dinesh Babu Yadav [Syncfusion]
Replied On July 25, 2019 10:27 AM UTC

Hi Raphael, 
 
Thanks for the update. 
 
We would like to let you know that e.Node.Content is an object type reference and its value will be assigned at runtime time only. So, you can achieve the reported requirement by casting the Content into particular data model type as like below code example, 
 
var dataobject =  (e.Node.Content as HidokEMRApp.FileManager).ItemName; 
 
Please let us know if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 


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.

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