Home > Net >  How in the WPF TreeView does not limit level can drag position at random order?
How in the WPF TreeView does not limit level can drag position at random order?

Time:10-09

Besides you can drag the sorting level item son can also sort between the parent, the parent can drag to the child, the child also can be a parent, without limit who can't drag

CodePudding user response:

Data binding, change the Parent on the ViewModel, but want to move to its Children is more complex

CodePudding user response:

Need to drag to change the parent node information, then the recursive again.

CodePudding user response:

reference 2 floor XBodhi. Response:
need to drag changes the parent node information, and then the recursive again.

On the third floor the moderator is positive solutions

CodePudding user response:

In fact you as long as you drag the node remember you need to hang in the placement of nodes can, you can design into the linked list data structure, such changes need not completely recursive, actually
  •  Tags:  
  • C#
  • Related