I am Beginner in WPF..
I have an requirement in WPF. Please go through the attached image.
1. I have 3 buttons, i.e Root, Child, GrandChild. When I click on Root, Root node should get created. When I click Child, Child node should get created under root. When I click GrandChild, GrandChild node should get created under Child, and so on.
2. The nodes which get created should be editable.
3. And when Each node get created same time 1 more textbox should get created in textbox panel (Which is binded with the node), and I can edit the Node name from tree view and also from the text box i.e from both the way.
** I am Beginner in WPF. I am trying my best but I am not able to do this. So need your help. This should be done in MVVM.
** I already started with basic. But this is a requirement I got, and cant avoid this. so seeking help..
Loading
James boPosted Nov 5, 2014, 7:02 AM
Sara SilvaPosted Nov 4, 2014, 11:41 AM
I not play with Treeview for long time, just not remember all about it.
I found some example that I think you should play, they are
http://www.codeproject.com/Articles/124644/Basic-Understanding-of-Tree-View-in-WPF
http://www.wpf-tutorial.com/treeview-control/simple-treeview/
http://www.wpf-tutorial.com/treeview-control/treeview-data-binding-multiple-templates/
http://www.dotnetperls.com/treeview-wpf
after it, can you try to do your own example and then share your difficulties? At this time is complicate for create a sample, I am little busy. But that you for let me know your doubts :)