private void lvwCarlsbad_MouseDoubleClick(object sender, MouseButtonEventArgs e) { SpecialOrderWPF so = (this.DataContext as DayInfoWPF).SelectedSO; so.IsEditable = false; SpecialOrderWindow win = new SpecialOrderWindow(so); win.Show(); }