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 :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.