Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xamDataTree start edit of a node in code

I must not be Googling this right.

In an event handler (from a context menu), I want to force an Infragistics xamDataTree into edit mode of a node. As in: right-click, context menu, select Edit, context menu closes and we're in edit mode on the node.

(I know how to do the update, the binding is correct, I have a fully-working dynamically-built context menu, all I need is the "Start Editing This Node" magic).

like image 584
Stu Avatar asked May 06 '13 18:05

Stu


1 Answers

Yep, it is that simple:

TreeControl.EnterEditMode(nodeToEdit);

like image 189
Stu Avatar answered Nov 23 '22 11:11

Stu