Back to list
Views:   0
Replies:  0
Reply 1
You shouldn't have a click even handler in your code behind. Use a Command (maybe with a commandHelper) to handle this.
The functionality of the click event is handled in the method of the Command in the ViewModel. If you want to use a messagebox you use a viewmanager (with an interface and IoC) and use a method on the viewmanager to handle the messagebox.
You can also have a look at Caliburn micro.
Wesley Walraeve, Aug 08, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas