title: how to load wpf usercontrol in MVVM pattern
body: <p>I'm creating a wpf user control which is in mvvm pattern.
  So we have : view(with no code in codebehind file), viewmodel,model,dataaccess files.</p>
  
  <p>I have <strong>MainWindow</strong>.xaml as a view file, which I need to bind with <strong>MainWindowModel</strong>.cs.</p>
  
  <p>Usually, in a a wpf application we can do this with onStartUp event in App.xaml file. But in user control, as we do not have App.xaml...How do I achieve it ?</p>
  
  <p>Please help :(...Thanks in Advance !!!</p>