在TreeView中向上或向下的节点 [英] up or down a node in TreeView
本文介绍了在TreeView中向上或向下的节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi
在VB.NET中:
如何在TreeView中同一级别的节点上或下
pic [ ^ ]
例如以上
i想要移动Nod8在Nod7之前
或
i想在Nod8之后移动Nod6
节点可能有childe
Hi
IN VB.NET:
How can I up or down a node in same level in TreeView
pic[^]
for example in above
i want to move Nod8 before Nod7
or
i want to move Nod6 after Nod8
nodes maybe have childe
推荐答案
这篇文章 [ ^ ]可以为您提供有关如何在TreeView中操作TreeNodes的链接。
给出的例子是拖放操作,但你应该这样做能够根据您的需求进行调整。
希望这会有所帮助。
This article[^] can give you a link about how to manipulate the TreeNodes inside a TreeView.
The given example is for a drag'n'drop operation but you should be able to adapt it to your needs.
Hope this helps.
这篇关于在TreeView中向上或向下的节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文