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

Disable editing

Thread ID:





128551 Jan 27,2017 07:04 PM Jan 30,2017 01:07 AM WPF 1
Tags: TreeViewAdv
Asked On January 27, 2017 07:04 PM

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 01:07 AM

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.

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.