public EditorDialog(PropertiesEditorViewModel ViewModel)
        {
            InitializeComponent();

            Loaded += (Sender, Args) => DataContext = ViewModel;
            ViewModel.Finished += ViewModelOnFinished;
        }
 public EditPropertiesRequestedEventArgs(String Title, PropertiesEditorViewModel EditorViewModel)
 {
     this.EditorViewModel = EditorViewModel;
     this.Title = Title;
 }