private void EditSurvey_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ConferenceViewModel dataContext = ForView.Unwrap<ConferenceViewModel>(this.DataContext);
     if (dataContext != null)
     {
         SurveyEditChildWindow childWindow = new SurveyEditChildWindow();
         childWindow.DataContext = ForView.Wrap(dataContext.SurveyEdit);
         childWindow.Show();
     }
 }
        private void EditSurvey_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            ConferenceViewModel dataContext = ForView.Unwrap <ConferenceViewModel>(this.DataContext);

            if (dataContext != null)
            {
                SurveyEditChildWindow childWindow = new SurveyEditChildWindow();
                childWindow.DataContext = ForView.Wrap(dataContext.SurveyEdit);
                childWindow.Show();
            }
        }