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

Disable editing

Thread ID:





128551 Jan 28,2017 12:04 AM UTC Jan 30,2017 06:07 AM UTC WPF 1
Tags: TreeViewAdv
Asked On January 28, 2017 12:04 AM UTC

I am using the TreeViewAdv control using a customised data template based on the one you use in the examples.

When using a data template how do you control whether you want a node to be "editable"?

Victory Jessie Selvam D [Syncfusion]
Replied On January 30, 2017 06:07 AM UTC

Hi Richard,

Thank you for using Syncfusion products.

We can enable or disable node editing using IsEditable property of TreeViewItemAdv. We have prepared a sample to demonstrate the same, and in that we have bound the CanEdit property of TreeModel class to IsEditable property through ItemContainerStyle property of TreeViewAdv. You can download the sample from following link:

Sample: TreeViewAdv_Editable



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