title: Removing codebehind files from WPF MVVM projects
body: <p>I am coding a WPF application using MVVM pattern. I don't need to have codebehind files for my user controls. What is the best way to remove these files elegantly?</p>
  
  <p>I can create a user control class then I can use this class for my all views. (for more info: <a href="http://sondreb.com/blog/post/No-Code-Behind-for-MVVM.aspx" rel="nofollow noreferrer">http://sondreb.com/blog/post/No-Code-Behind-for-MVVM.aspx</a>)</p>
  
  <p>Are there any alternative ways?</p>
  
  <p>Thank you.</p>