Click here to Skip to main content
15,891,004 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
I am learning MVVM in combination with WPF. I have different views with its viewmodels. All the views have their own buttons like add, edit, delete and save. These commands are common, so I want to create a common view and remove these commands from each view. How can I do that? I am using DevExpress. So if I could get an example, I would be really grateful.
Posted
Comments
[no name] 19-Jun-14 15:28pm    
So why is it that you cannot create a user control for your common view?
KishanGa 19-Jun-14 16:25pm    
I already thought in that direction, but I don't know how to reference to the specific view in which the user is (eg.) editing something, so that the change can be saved.

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