You can handle the RadTreeView.PreviewEditStarted()
event in case the editing is not initiated by the ContextMenu
item. You can define a bool
property - isEditAllowed
and to only set it to true in the EditItem()
method. Then you will need to set it back to false as soon as the item is edited. I modified the sample project to illustrate this approach.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items