public Copier(ViewModelCopy parent) { viewModel = parent; }
private void Control_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e) { viewModel = e.NewValue as ViewModelCopy; }