我是Wpf un c#.net的新手。我有一个疑问。请帮我解决一下。 [英] I am new in Wpf un c# .net. I have one doubt. Please help me to solve it.

查看:84
本文介绍了我是Wpf un c#.net的新手。我有一个疑问。请帮我解决一下。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个树视图包含一个父节点及其子节点。尝试将一个子节点拖放到另一个子节点时,弹出窗口必须能够添加新节点,然后尝试拖放的子节点必须成为新添加节点的子节点。如何使用c#在Wpf中完成。

解决方案

你不清楚节点是什么意思。如果这是树视图,请参阅,例如: http:/ /dotnet-experience.blogspot.com/2011/04/wpf-treeview-drag-n-drop.html [ ^ ]。



更一般地说,请从这里开始: http://msdn.microsoft.com/en- us / library / ms742859%28v = vs.110%29.aspx [ ^ ]。



-SA

您好,也许以下链接可能会对您有所帮助。你可以尝试一下



WPF TreeView控件中的拖放功能 [ ^ ]

http://dotnet-experience.blogspot.in/2011/04/wpf-treeview-drag-n-drop.html [<一个href =http://dotnet-experience.blogspot.in/2011/04/wpf-treeview-drag-n-drop.htmltarget =_ blanktitle =New Window> ^ ]

I have a tree view contain one parent node and its child nodes. While try to drag and drop one child node to another one popup window must come having the ability to add a new node and then the child nodes which is trying to drag and drop must became the child nodes of the newly added nodes. How it is done in Wpf using c#.

解决方案

It's not clear what "nodes" do you mean. If this is a tree view, please see, for example: http://dotnet-experience.blogspot.com/2011/04/wpf-treeview-drag-n-drop.html[^].

More generally, please start here: http://msdn.microsoft.com/en-us/library/ms742859%28v=vs.110%29.aspx[^].

—SA


Hi, perhaps the below links might help you. Can you give it a try

Drag and Drop Feature in WPF TreeView Control[^]
http://dotnet-experience.blogspot.in/2011/04/wpf-treeview-drag-n-drop.html[^]


这篇关于我是Wpf un c#.net的新手。我有一个疑问。请帮我解决一下。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆