public MainWindow()
 {
     DataContext = new MainWindowVM
     {
         Query = new QueryVM
         {
             ContactDetails = new ContactVM()
         }
     };
     InitializeComponent();
 }
 public MainWindow()
 {
     DataContext = new MainWindowVM();
     InitializeComponent();
 }