Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am Beginner in WPF..
I have an requirement in WPF. Please go through the attached image.

http://stackoverflow.com/questions/26709963/treeview-in-wpf-with-button-click-in-mvvm[^]

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...
Posted
Updated 5-Nov-14 5:10am
v5
Comments
Sergey Alexandrovich Kryukov 5-Nov-14 13:19pm    
Sorry, but the way the question, and especially the diagram is presented is a clear sign of out-of-scale laziness.
Don't get me wrong: there is nothing wrong with saving working time from extra work, but who do you think will read this non-readable diagram and then dig in the problem?

If you think are a beginner, you have to begin. Nobody will begin your work for you, so, what have you tried so far?.

—SA
james02 6-Nov-14 4:12am    
Sir Its not I am sitting idol, what ever I have did I am attaching that.. please check that. I am also started learning WPF, but to get this done I need some more time which I dont have.
Any way Thanks for your reply, At least you replied something.

TreeViewDemo.zip
Sergey Alexandrovich Kryukov 6-Nov-14 11:28am    
Appreciate that...
—SA

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!
 
Share this answer
 
Comments
james02 6-Nov-14 4:24am    
Sir Its not I am sitting idol, what ever I have did I am attaching that.. please check that. I am also started learning WPF, but to get this done I need some more time which I dont have.
Any way Thanks for your reply, At least you replied something.

https://www.dropbox.com/s/5tvjyxfug4n18mf/TreeViewDemo.zip?dl=0
OriginalGriff 6-Nov-14 4:27am    
As I said: we don't do your homework.
Perhaps you should have started earlier?
james02 6-Nov-14 5:05am    
yes Perhaps, Do you know skydiving ?? Perhaps you should have learned skydiving..
Its all about opportunities boss, I was working on Java, recently my company moved me to C# and that to WPF..
So I facing a bit difficulty, but its nothing like I can not do.. There is no rocket since.
If you are not willing to help then dont do. But don't talk rubbish.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900