954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Binding WPF-MVVM Context

Hi,
Could someone tell me how to bind a view to viewmodel, I cant seem to get it to work, could anybody give me a template.
I have usercontrol with a button and a textbox, and bind it to the corresponding functions in a viewmodel, the view model is in an a seperate dll. Ive been trying for a while but i cant seem to get it to bind.
I'm assuming your ment to use Datacontext, but i dont know where to place it or what not.
I understand the concept of MVVM i just cant seem to work out how to bind the view with viewmodel.
Thanks in Advance :)

CrazyProgrammer
Light Poster
29 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 
abelLazm
Postaholic
2,113 posts since Feb 2011
Reputation Points: 219
Solved Threads: 124
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: